Struct · Ara
Transform
Position, rotation and scale of an entity relative to its parent.
public struct Transform : IComponent<Transform>Properties
TypeIndex
public static uint TypeIndex { get; }Stable engine component index.
Fields
Position
public Vector3 Position;Position relative to the parent.
Unit: m. Default: [0,0,0]. Replicated to relevant clients.
Rotation
public Vector3 Rotation;Rotation relative to the parent, as XYZ Euler angles.
Unit: deg. Default: [0,0,0]. Replicated to relevant clients.
Scale
public Vector3 Scale;Scale relative to the parent; [1, 1, 1] is unscaled.
Default: [1,1,1].