TransformProxy
A class in Root.Township, the global namespace.
A plain position and rotation, for sending a place over the network (for example where to play particles) without a Transform.
- Listed in Global namespace: T to X
- Derived types
BreakOnImpact.TransformProxyEvent,BreakOnImpact.TransformProxyHandler
Constructors
| Member | What it is |
|---|---|
TransformProxy() | Creates a TransformProxy from target. |
TransformProxy(Vector3 position, Quaternion rotation) | Creates a TransformProxy from target. |
TransformProxy(Transform target) | Creates a TransformProxy from target. |
Properties
| Member | What it is |
|---|---|
Vector3 Position { get; } | The world position. |
Quaternion Rotation { get; } | The world rotation. |
Methods
| Member | What it is |
|---|---|
static void SerializeParticles(Stream stream, ref TransformProxy sync) | Reads or writes the position and a compressed rotation. Reading makes a new proxy. |
Used in
Members of other types that take, return or hold a TransformProxy: