LocalTransform
type LocalTransform = {
position: Vec3;
orientation: Quat;
scale: Vec3;
eulerOrientation: Vec3;
globalEulerOrientation: Vec3;
};
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:476
Local transform of the entity.
Type declaration
Name | Type | Description |
---|---|---|
position | Vec3 | x, y, z position of the entity. |
orientation | Quat | Orientation of the entity expressed as a quaternion. |
scale | Vec3 | x, y, z scale of the entity. |
eulerOrientation | Vec3 | Orientation of the entity expressed as euler angles. |
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. |