Options
All
  • Public
  • Public/Protected
  • All
Menu

Transform that takes care about its versions

memberof

PIXI

Hierarchy

  • Transform

Index

Constructors

constructor

  • Returns Transform

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

localTransform

localTransform: Matrix

pivot

pivot: ObservablePoint<any>

position

position: ObservablePoint<any>

scale

scale: ObservablePoint<any>

skew

skew: ObservablePoint<any>

worldTransform

worldTransform: Matrix

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.

    Parameters

    • value: number

    Returns void

Methods

Protected onChange

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

    Returns void

setFromMatrix

  • setFromMatrix(matrix: Matrix): void
  • Decomposes a matrix and sets the transforms properties based on it.

    Parameters

    • matrix: Matrix

      The matrix to decompose

    Returns void

toString

  • toString(): string
  • Returns string

updateLocalTransform

  • updateLocalTransform(): void
  • Updates the local transformation matrix.

    Returns void

Protected updateSkew

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

    Returns void

updateTransform

  • updateTransform(parentTransform: Transform): void
  • Updates the local and the world transformation matrices.

    Parameters

    • parentTransform: Transform

      The parent transform

    Returns void

Generated using TypeDoc