Interface DataObjectParams

Parameters for creating a DataObject.

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

interface DataObjectParams {
    description?: string;
    id: string;
    name: string;
    originalSystemId?: string;
    propertySetIds?: string[];
    schema?: string;
    type: string;
}

Properties

description?: string

A human-readable description of the DataObject.

id: string

A globally unique ID for the DataObject.

DataObjects are stored by ID in several collections, including Data.objects, Data.rootObjects, Data.objectsByType, DataModel.objects, and DataModel.rootObjects.

For further details, see @xeokit/sdk/scene.

name: string

A human-readable name for the DataObject.

originalSystemId?: string

The ID of this DataObject in the originating system, if available.

Defaults to the value of DataObject.id if not provided.

propertySetIds?: string[]

A list of IDs for associated PropertySets, if applicable.

schema?: string

The model schema version, if available.

type: string

The type of the DataObject.