Options
All
  • Public
  • Public/Protected
  • All
Menu

Handles position, scaling and rotation in 3D.

Hierarchy

  • Transform
    • Transform3D

Index

Constructors

constructor

  • Returns Transform3D

Properties

Protected _currentLocalID

_currentLocalID: number

Protected _cx

_cx: number

Protected _cy

_cy: number

Protected _localID

_localID: number

_parentID

_parentID: number

Protected _rotation

_rotation: number

Protected _sx

_sx: number

Protected _sy

_sy: number

_worldID

_worldID: number

inverseWorldTransform

inverseWorldTransform: Matrix4 = ...

The inverse transformation matrix in world space.

localTransform

localTransform: Matrix4 = ...

The transformation matrix in local space.

normalTransform

normalTransform: Matrix4 = ...

The normal transformation matrix.

pivot

pivot: ObservablePoint<any>

position

position: ObservablePoint3D = ...

The position in local space.

rotationQuaternion

rotationQuaternion: ObservableQuaternion = ...

The rotation in local space.

scale

scale: ObservablePoint3D = ...

The scale in local space.

skew

skew: ObservablePoint<any>

worldTransform

worldTransform: Matrix4 = ...

The transformation matrix in world space.

Static Readonly IDENTITY

IDENTITY: Transform

A default (identity) transform

static
constant
member

{PIXI.Transform}

Accessors

rotation

  • get rotation(): number
  • set rotation(value: number): void
  • The rotation of the object in radians.

    member

    {number}

    Returns number

  • The rotation of the object in radians.

    member

    {number}

    Parameters

    • value: number

    Returns void

Methods

lookAt

Protected onChange

  • onChange(): void
  • Called when a value changes.

    Returns void

setFromMatrix

  • setFromMatrix(matrix: Matrix4): void
  • Sets position, rotation and scale from a matrix array.

    Parameters

    • matrix: Matrix4

      The matrix to set.

    Returns void

toString

  • toString(): string
  • Returns string

updateLocalTransform

  • updateLocalTransform(): void

Protected updateSkew

  • updateSkew(): void
  • Called when the skew or the rotation changes.

    Returns void

updateTransform

  • updateTransform(parentTransform?: Transform): void
  • Updates the world transformation matrix.

    Parameters

    • Optional parentTransform: Transform

      The parent transform.

    Returns void

Generated using TypeDoc