gpu-curtains
    Preparing search index...

    Used as a base class to create a Camera.

    This class is not made to be used directly, you should use the PerspectiveCamera or OrthographicCamera classes instead.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    uuid: string

    The universal unique id of the Camera.

    label: string

    Camera default label.

    onMatricesChanged?: () => void

    Callback to execute when one of the camera matrices changed.

    CSSPerspective: number

    A number representing what CSS perspective value (in pixel) should be used to obtain the same perspective effect as this Camera. Useful only with PerspectiveCamera.

    visibleSize: RectSize

    An object containing the visible width / height at a given z-depth from our camera parameters.

    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