RSX Code Reference
    Preparing search index...
    • rsx
    • SceneObjectTransform

    Class SceneObjectTransform

    Contains local and world transforms for a SceneObject, as well as various cached data as well as helper functionality.

    Index
    • get localBackward(): Immutable<Vector3>

      The local backward axis of the SceneObject.

      Returns Immutable<Vector3>

      World backward axis is considered to be negative Z.

    • get worldBackward(): Immutable<Vector3>

      The world backward axis of the SceneObject.

      Returns Immutable<Vector3>

      World backward axis is considered to be negative Z.

    • Orients the object so it is looking at the provided location (world space) where up is used for determining the location of the object's Y axis.

      Parameters

      Returns void

      The positiveZ determine if the object looks through its positive or negative Z-Axis. For cameras and lights, this should be false, for all other objects it's best to set this to true (Default).

    • Moves the object's position by the vector offset provided along it's own axes (relative to orientation).

      Parameters

      Returns void

    • Moves the object's position by the vector offset provided along world axes.

      Parameters

      Returns void

    • Rotates around X axis

      Parameters

      Returns void

    • Rotates around X axis

      Parameters

      Returns void

    • Rotates around local Z axis.

      Parameters

      Returns void

    • Rotates around local Z axis.

      Parameters

      Returns void

    • Sets the local position, but without affecting the world transform of any child objects. The local transform of the children will be updated accordingly.

      Parameters

      Returns void

    • Sets the local rotation, but without affecting the world transform of any child objects. The local transform of the children will be updated accordingly.

      Parameters

      Returns void

    • Sets the local scale, but without affecting the world transform of any child objects. The local transform of the children will be updated accordingly.

      Parameters

      Returns void

    • Sets the local skew, but without affecting the world transform of any child objects. The local transform of the children will be updated accordingly.

      Parameters

      Returns void

    • Sets the local transform, but without affecting the world transform of any child objects. The local transform of the children will be updated accordingly.

      Parameters

      Returns void

    • Sets the world space position, but without affecting the world transform of any child objects. The local transform of the children will be updated accordingly.

      Parameters

      Returns void

    • Sets the world space rotation, but without affecting the world transform of any child objects. The local transform of the children will be updated accordingly.

      Parameters

      Returns void

    • Sets the world space scale, but without affecting the world transform of any child objects. The local transform of the children will be updated accordingly.

      Parameters

      Returns void

    • Sets the world transform, but without affecting the world transform of any child objects. The local transform of the children will be updated accordingly.

      Parameters

      Returns void

    • Rotates around Y axis.

      Parameters

      Returns void

    • Rotates around Y axis.

      Parameters

      Returns void