Skip to main content

LocalTransform

@3dverse/livelink v0.8.10


@3dverse/livelink / Components / LocalTransform

Type Alias: LocalTransform

LocalTransform: object

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:453

Local transform of the entity.

Type declaration

position

position: Vec3

x, y, z position of the entity.

Default Value

0, 0, 0;

orientation

orientation: Quat

Orientation of the entity expressed as a quaternion.

Default Value

0, 0, 0, 1;

scale

scale: Vec3

x, y, z scale of the entity.

Default Value

1, 1, 1;

eulerOrientation

eulerOrientation: Vec3

Orientation of the entity expressed as euler angles.

Default Value

0, 0, 0;

globalEulerOrientation

globalEulerOrientation: Vec3

Last global orientation of the entity expressed as euler angles submitted by a user. This value may not be valid, and should be checked.

Default Value

0, 0, 0;