Class FlexalonAlignLayout
- Namespace
- Flexalon
- Assembly
- Flexalon.dll
Use a align layout to align all children to the parent on the specified axes. For example, use a align layout to place all children along a floor, wall, or edge.
Once aligned, you can adjust the position, rotation, or size of each child by editing the Offset, Rotation, Size, and Scale properties on that child's Flexalon Object Component.
public class FlexalonAlignLayout : LayoutBase, Layout
- Inheritance
-
objectFlexalonAlignLayout
- Implements
- Inherited Members
Properties
DepthAlign
The depth alignment in the size of the layout.
public Align DepthAlign { get; set; }
Property Value
DepthPivot
The depth pivot in the size of each child.
public Align DepthPivot { get; set; }
Property Value
HorizontalAlign
The horizontal alignment in the size of the layout.
public Align HorizontalAlign { get; set; }
Property Value
HorizontalPivot
The horizontal pivot in the size of each child.
public Align HorizontalPivot { get; set; }
Property Value
VerticalAlign
The vertical alignment in the size of the layout.
public Align VerticalAlign { get; set; }
Property Value
VerticalPivot
The vertical pivot in the size of each child.
public Align VerticalPivot { get; set; }
Property Value
Methods
Arrange(FlexalonNode, Vector3)
Position the children of node within the available bounds.
public override void Arrange(FlexalonNode node, Vector3 size)
Parameters
nodeFlexalonNodesizeVector3
Measure(FlexalonNode, Vector3, Vector3, Vector3)
Perform minimal work to determine what the size of node and available size for node's children.
public override Bounds Measure(FlexalonNode node, Vector3 size, Vector3 min, Vector3 max)
Parameters
nodeFlexalonNodesizeVector3minVector3maxVector3
Returns
- Bounds