Skip to main content

Transform

Index

Constructors

constructor

Accessors

children

globalPos

globalRotation

  • get globalRotation(): number
  • set globalRotation(rotation: number): void
  • Returns number

  • Parameters

    • rotation: number

    Returns void

globalScale

globalZ

  • get globalZ(): number
  • set globalZ(z: number): void
  • Returns number

  • Parameters

    • z: number

    Returns void

publicinverse

publicmatrix

parent

pos

rotation

  • get rotation(): number
  • set rotation(rotation: number): void
  • Returns number

  • Parameters

    • rotation: number

    Returns void

scale

z

  • get z(): number
  • set z(z: number): void
  • Returns number

  • Parameters

    • z: number

    Returns void

Methods

publicapply

publicapplyInverse

publicclone

  • Clones the current transform Warning does not clone the parent


    Parameters

    Returns Transform

publicflagDirty

  • flagDirty(): void
  • Returns void

publicsetTransform

  • setTransform(pos: Vector, rotation: number, scale: Vector): void
  • Parameters

    Returns void