Skip to main content

Interface: TransformComponent

Transform component data.

Extends

Properties

componentType

componentType: ComponentType;

Component type.

Inherited from

Component.componentType


enabled

enabled: boolean;

Whether the component is enabled.

Inherited from

Component.enabled


parent

parent: `${string}-${string}-${string}-${string}-${string}`;

Parent entity UUID.


children

children: `${string}-${string}-${string}-${string}-${string}`[];

Child entity UUIDs.


localPosition

localPosition: vec3;

Local position.


localRotation

localRotation: vec3;

Local rotation.


localScale

localScale: vec3;

Local scale.


isTransformSync

isTransformSync: boolean;

Whether transform sync is enabled.