Transform that takes care about its versions.

Memberof

PIXI

Hierarchy

  • Transform
    • Transform

Constructors

  • Returns Transform

Properties

_parentID: number

The locally unique ID of the parent's world transform used to calculate the current world transformation matrix.

_worldID: number

The locally unique ID of the world transform.

localTransform: Matrix

The local transformation matrix.

pivot: ObservablePoint<any>

The pivot point of the displayObject that it rotates around.

position: ObservablePoint<any>

The coordinate of the object relative to the local coordinates of the parent.

scale: ObservablePoint<any>

The scale factor of the object.

skew: ObservablePoint<any>

The skew amount, on the x and y axis.

worldTransform: Matrix

The world transformation matrix.

IDENTITY: Transform

A default (identity) transform.

Static

Accessors

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

    Returns number

  • set rotation(value): void
  • Parameters

    • value: number

    Returns void

Methods

  • Decomposes a matrix and sets the transforms properties based on it.

    Parameters

    • matrix: Matrix

      The matrix to decompose

    Returns void

  • Updates the local transformation matrix.

    Returns void

  • Updates the local and the world transformation matrices.

    Parameters

    • parentTransform: Transform

      The parent transform

    Returns void

Generated using TypeDoc