PositionRecord
A struct in Root.Township, the global namespace.
A saved position and rotation, either in world space or relative to another transform depending on which constructor made it.
- Listed in Global namespace: P
Constructors
| Member | What it is |
|---|---|
PositionRecord(Vector3 position, Quaternion rotation) | Creates a PositionRecord from to and from. |
PositionRecord(Transform transform) | Creates a PositionRecord from to and from. |
PositionRecord(Transform to, Transform from) | Creates a PositionRecord from to and from. |
Fields
| Member | What it is |
|---|---|
Vector3 position | The position, world or local to the reference transform. |
Quaternion rotation | The rotation, world or local to the reference transform. |
Used in
Members of other types that take, return or hold a PositionRecord: