gpu-curtains
    Preparing search index...

    Used to apply the projection and view matrices of a Camera to an Object3D, in order to compute modelView and modelViewProjection matrices.

    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.

    camera: Camera

    Camera object used to compute model view and model view projection matrices

    Accessors

    • get visible(): boolean

      Get whether this Object3D is visible (if it is itself visible, and all its parents are visible as well).

      Returns boolean

    • set visible(value: boolean): void

      Set this Object3D visible property, and its children parentVisibility property.

      Parameters

      • value: boolean

        New visibility value.

      Returns void

    • 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