@equinor/videx-3d
    Preparing search index...

    Type Alias CommonComponentProps

    Common props for 3d components

    type CommonComponentProps = {
        castShadow?: boolean;
        layers?: Layers;
        name?: string;
        position?: Vec3;
        receiveShadow?: boolean;
        renderOrder?: number;
        userData?: Record<string, any>;
        visible?: boolean;
    }
    Index

    Properties

    castShadow?: boolean

    set the castShadow property on the THREE.js Object3D instance.

    layers?: Layers

    set the layers property on the THREE.js Object3D instance.

    name?: string

    will be added to the name property of the THREE.js Object3D instance

    position?: Vec3

    set the position in parent's local coordinates

    receiveShadow?: boolean

    set the receiveShadow property on the THREE.js Object3D instance.

    renderOrder?: number

    set the renderOrder property on the THREE.js Object3D instance.

    userData?: Record<string, any>

    set the userData object on the THREE.js Object3D instance

    visible?: boolean

    set the visible flag on the THREE.js Object3D instance