ThreePipe
    Preparing search index...

    Interface IObject3DUserData

    interface IObject3DUserData {
        __autoBubbleToParentEvents?: string[];
        __gltfAsset?: {};
        __gltfExtras?: any;
        __importData?: any;
        __keepShadowDef?: boolean;
        __meshSetup?: boolean;
        __needsSourceBuffer?: boolean;
        __objectSetup?: boolean;
        __sourceBlob?: IFile;
        __sourceBuffer?: ArrayBuffer;
        _originalMaterial?:
            | IMaterial<IMaterialEventMap>
            | IMaterial<IMaterialEventMap>[];
        _variantMaterials?: Record<string, { material: IMaterial }>;
        autoCentered?: boolean;
        autoScaled?: boolean;
        autoScaleRadius?: number;
        autoUpdateParent?: 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;
        TransformAnimationPlugin?: { transforms: TSavedTransform[] };
        userSelectable?: boolean;
        uuid?: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    __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?: {}
    __gltfExtras?: any
    __importData?: any

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

    __keepShadowDef?: boolean
    __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)

    _originalMaterial?:
        | IMaterial<IMaterialEventMap>
        | IMaterial<IMaterialEventMap>[]
    _variantMaterials?: Record<string, { material: IMaterial }>

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

    autoCentered?: boolean
    autoScaled?: boolean
    autoScaleRadius?: number
    autoUpdateParent?: boolean

    Disables bubbleToParent in setDirty calls on the object. As an effect scene, viewer are not updated on property change. See progressive-hdr-shadows-exp or any baker.

    bboxVisible?: boolean

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

    dispose?: any
    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
    setGeometry?: any
    setMaterial?: any
    TransformAnimationPlugin?: { transforms: TSavedTransform[] }
    userSelectable?: boolean

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

    uuid?: string