gpu-curtains
    Preparing search index...

    Used to create an object with transformation properties such as position, scale, rotation and transform origin vectors and a quaternion in order to compute the model matrix and world matrix.

    If an Object3D does not have any parent, then its model matrix and world matrix are the same.

    The transformations vectors are reactive to changes, which mean that updating one of their components will automatically update the model matrix and world matrix.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    transforms: Object3DTransforms
    up: Vec3

    Vec3 used by the lookAt method, to determine the orientation of the result. Default to new Vec3(0, 1, 0).

    actualPosition: Vec3

    Vec3 holding the actual position of this Object3D from its worldMatrix.

    children: Object3D[]

    Children Object3D in the scene graph, used to compute their own worldMatrix.

    object3DIndex: number

    Index (order of creation) of this Object3D. Used in the parent / children relation.

    matricesNeedUpdate: boolean

    Whether at least one of this Object3D matrix needs an update.

    Accessors

    • get parentVisibility(): boolean

      Get whether all this Object3D parents are visible or not. Should not be used directly.

      Returns boolean

    • set parentVisibility(value: boolean): void

      Set to false if at least one of this Object3D parent is not visible, true otherwise. Should not be used directly.

      Parameters

      • value: boolean

        New parent visibility value.

      Returns void

    Methods