UIBlock.Alignment
Alignment
A per-axis alignment for this UIBlock relative to its Parent's bounds (PaddedSize). CalculatedPosition is an offset in the Alignment coordinate space.
Remarks
Axis Alignment | Shift Direction |
---|---|
Left | A positive Calculated Position.X shifts right |
Center | A positive Calculated Position.X shifts right |
Right | A positive Calculated Position.X shifts left |
Bottom | A positive Calculated Position.Y shifts up |
Center | A positive Calculated Position.Y shifts up |
Top | A positive Calculated Position.Y shifts down |
Front | A positive Calculated Position.Z shifts forward |
Center | A positive Calculated Position.Z shifts forward |
Back | A positive Calculated Position.Z shifts backward |
Declaration
public ref Alignment Alignment { get; }