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

publicinverse

publicmatrix

parent

pos

rotation

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

  • Parameters

    • rotation: number

    Returns void

scale

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