Interface IObject3DUserData

interface IObject3DUserData {
    TransformAnimationPlugin?: {
        transforms: TSavedTransform[];
    };
    __autoBubbleToParentEvents?: string[];
    __gltfAsset?: {};
    __gltfExtras?: any;
    __importData?: any;
    __keepShadowDef?: boolean;
    __meshSetup?: boolean;
    __needsSourceBuffer?: boolean;
    __objectSetup?: boolean;
    __sourceBlob?: IFile;
    __sourceBuffer?: ArrayBuffer;
    _originalMaterial?: IMaterial<IMaterialEvent<IMaterialEventTypes>, IMaterialEventTypes> | IMaterial<IMaterialEvent<IMaterialEventTypes>, IMaterialEventTypes>[];
    _variantMaterials?: Record<string, {
        material: IMaterial<IMaterialEvent<IMaterialEventTypes>, IMaterialEventTypes>;
    }>;
    autoCentered?: boolean;
    autoScaleRadius?: number;
    autoScaled?: boolean;
    bboxVisible?: boolean;
    dispose?: any;
    excludeFromExport?: boolean;
    geometriesCentered?: boolean;
    gltfAnim_SyncMaxDuration?: boolean;
    isCentered?: boolean;
    license?: string;
    physicsMass?: number;
    pseudoCentered?: boolean;
    rootPath?: string;
    rootSceneModelRoot?: boolean;
    setDirty?: any;
    setGeometry?: any;
    setMaterial?: any;
    userSelectable?: boolean;
    uuid?: string;
    [key: string]: any;
}

Hierarchy (view full)

Indexable

[key: string]: any

Properties

TransformAnimationPlugin?: {
    transforms: TSavedTransform[];
}

Type declaration

__autoBubbleToParentEvents?: string[]

Events that should be bubbled to parent root without the need to set bubbleToParent in the event. todo: remove support for this

__gltfAsset?: {}

Type declaration

    __gltfExtras?: any
    __importData?: any

    extra arbitrary data saved by the importer that can be used by the plugins (like gltf material variants)

    __keepShadowDef?: boolean

    Used in GLTFObject3DExtrasExtension and iObjectCommons.upgradeObject3D

    __meshSetup?: boolean
    __needsSourceBuffer?: boolean

    This can be set to true in the importer to indicate that the source buffer should be loaded and cached in the userdata during processRaw

    __objectSetup?: boolean
    __sourceBlob?: IFile

    Cached source blob for the asset

    __sourceBuffer?: ArrayBuffer

    Cached source buffer for the asset (only cached when __needsSourceBuffer is set)

    _variantMaterials?: Record<string, {
        material: IMaterial<IMaterialEvent<IMaterialEventTypes>, IMaterialEventTypes>;
    }>

    Starts with _ so that its not saved in gltf, but saved in json.

    autoCentered?: boolean
    autoScaleRadius?: number
    autoScaled?: boolean
    bboxVisible?: boolean

    should this object be taken into account when calculating bounding box, default true

    dispose?: any

    Deprecated

    excludeFromExport?: boolean

    When true, this object will not be exported when exporting the scene with AssetExporter.exportObject

    geometriesCentered?: boolean
    gltfAnim_SyncMaxDuration?: boolean
    isCentered?: boolean
    license?: string
    physicsMass?: number

    For Physics plugins

    pseudoCentered?: boolean

    Is centered in a parent object.

    rootPath?: string
    rootSceneModelRoot?: boolean

    is it modelRoot in RootScene, used during serialization nad traversing ancestors

    setDirty?: any

    Deprecated

    setGeometry?: any

    Deprecated

    setMaterial?: any

    Deprecated

    userSelectable?: boolean

    When false, this object will not be selectable when clicking on it.

    uuid?: string

    Generated using TypeDoc