ScriptObjectEditTransform
Definition
Section titled “Definition”type ScriptObjectEditTransform = | Readonly<{ kind: "world"; position: Vector3; rotationDegrees: Vector3; scale: number }> | Readonly<{ kind: "attachment"; offset: Vector3; rotationDegrees: Vector3; scale: number }>;Fields
Section titled “Fields”| Name | Type | Description |
|---|---|---|
kind |
"world"|"attachment" |
Coordinate space used by the editor. |
position |
Vector3 |
World position, in metres, for a freestanding object. |
offset |
Vector3 |
Position relative to the attachment parent, in metres. |
rotationDegrees |
Vector3 |
Rotation in the same axes as the translation. |
scale |
number |
Visual scale from 0.01 to 10. |