Class PositionPlan
An archetype's position, compiled.
public sealed class PositionPlan
- Inheritance
-
PositionPlan
- Inherited Members
Properties
Dims
2 or 3.
public int Dims { get; }
Property Value
Ground
Whether segments are ground-clamped (#1616): each starts with a grounded byte, and a grounded one omits the UpAxis of its position and velocity — decoded as NaN and 0.
public bool Ground { get; }
Property Value
Linear
Whether a segment carries a velocity.
public bool Linear { get; }
Property Value
Moving
Whether segments are replicated (motion) rather than a single position on enter (static).
public bool Moving { get; }
Property Value
Pos
The position codec.
public FieldPlan Pos { get; }
Property Value
UpAxis
For a ground position, the vertical axis a grounded segment omits; -1 otherwise.
public int UpAxis { get; }
Property Value
Vel
The velocity codec, for the linear model.
public FieldPlan Vel { get; }