Table of Contents

Class PositionPlan

Namespace
Typhon.Protocol
Assembly
Typhon.Protocol.dll

An archetype's position, compiled.

public sealed class PositionPlan
Inheritance
PositionPlan
Inherited Members

Properties

Dims

2 or 3.

public int Dims { get; }

Property Value

int

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

bool

Linear

Whether a segment carries a velocity.

public bool Linear { get; }

Property Value

bool

Moving

Whether segments are replicated (motion) rather than a single position on enter (static).

public bool Moving { get; }

Property Value

bool

Pos

The position codec.

public FieldPlan Pos { get; }

Property Value

FieldPlan

UpAxis

For a ground position, the vertical axis a grounded segment omits; -1 otherwise.

public int UpAxis { get; }

Property Value

int

Vel

The velocity codec, for the linear model.

public FieldPlan Vel { get; }

Property Value

FieldPlan