UNPKG

@xeokit/xeokit-convert

Version:

JavaScript utilities to create .XKT files

46 lines (45 loc) 1.05 kB
/** * A property set within an {@link XKTModel}. * * These are shared among {@link XKTMetaObject}s. * * * Created by {@link XKTModel#createPropertySet} * * Stored in {@link XKTModel#propertySets} and {@link XKTModel#propertySetsList} * * Has an ID, a type, and a human-readable name * * @class XKTPropertySet */ export class XKTPropertySet { /** * @private */ private constructor(); /** * Unique ID of this ````XKTPropertySet```` in {@link XKTModel#propertySets}. * * @type {String} */ propertySetId: string; /** * Indicates the ````XKTPropertySet````'s type. * * This defaults to "default". * * @type {string} */ propertySetType: string; /** * Indicates the XKTPropertySet meta object name. * * This defaults to {@link XKTPropertySet#propertySetId}. * * @type {string} */ propertySetName: string; /** * The properties within this ````XKTPropertySet````. * * @type {*[]} */ properties: any[]; }