QuaternionValueAsset¶
ScriptableObject that stores a shared Quaternion (as euler angles), editable in the Project window.
Namespace: Jungle.Spatial
Inherits: ValueAsset<Quaternion>
Overview¶
Create from Jungle / Spatial / Quaternion Value. Stores a rotation as euler angles internally for inspector-friendly editing. Returns a Quaternion at runtime. A companion QuaternionListValueAsset stores a list.
Properties¶
| Property | Type | Description |
|---|---|---|
| eulerAngles | Vector3 |
The rotation stored as euler angles. |
Additional Methods¶
| Method | Description |
|---|---|
EulerAngles |
Property returning the stored euler angles directly. |
SetEulerAngles(Vector3) |
Sets the rotation using euler angles. |