Interface PropertyParams

Parameters for creating a Property.

These parameters are used when creating Properties within a PropertySet.

For detailed usage, refer to @xeokit/sdk/data.

interface PropertyParams {
    description?: string;
    name: string;
    type?: string;
    value: any;
    valueType?: string | number;
}

Properties

description?: string

A description of the Property. This is typically used for providing additional context or clarification about the property.

name: string

The name of the Property.

type?: string

The type of the Property. This could specify the general data type, such as string, number, etc.

value: any

The value of the Property. This can be any type of data depending on the property.

valueType?: string | number

The type of the Property's value. This specifies the value's data type, which can be different from the property's type.