Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Transform

Hierarchy

Index

Constructors

constructor

Events

changed

changed: VoidSyncEvent = new VoidSyncEvent()

Accessors

active

  • get active(): boolean
  • set active(active: boolean): void

entity

eventsEnabled

  • set eventsEnabled(enabled: boolean): void

forward

id

  • get id(): string

invWorldMatrix

localMatrix

parent

  • get parent(): undefined | Entity

position

right

rotation

scale

up

version

  • get version(): number

worldForward

worldMatrix

worldPosition

  • get worldPosition(): Vector3
  • set worldPosition(worldPosition: Vector3): void

worldRight

worldRotation

worldScale

worldUp

Methods

copy

deserialize

destroy

  • destroy(): void

dirtifyWorldMatrix

  • dirtifyWorldMatrix(): void

isA

  • isA<T>(type: object): boolean

isLoaded

  • isLoaded(): boolean

localToWorld

onReplace

reset

  • reset(): void

serialize

setEntity

  • setEntity(entity: Entity): void

setLocalMatrix

  • setLocalMatrix(matrix: Matrix44): void

setState

translate

  • translate(translation: Vector3): void

upgrade

worldToLocal

worldToLocalDirection

worldToLocalRotation