Table of Contents

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
object
FlexalonAlignLayout
Implements
Inherited Members

Properties

DepthAlign

The depth alignment in the size of the layout.

public Align DepthAlign { get; set; }

Property Value

Align

DepthPivot

The depth pivot in the size of each child.

public Align DepthPivot { get; set; }

Property Value

Align

HorizontalAlign

The horizontal alignment in the size of the layout.

public Align HorizontalAlign { get; set; }

Property Value

Align

HorizontalPivot

The horizontal pivot in the size of each child.

public Align HorizontalPivot { get; set; }

Property Value

Align

VerticalAlign

The vertical alignment in the size of the layout.

public Align VerticalAlign { get; set; }

Property Value

Align

VerticalPivot

The vertical pivot in the size of each child.

public Align VerticalPivot { get; set; }

Property Value

Align

Methods

Arrange(FlexalonNode, Vector3)

Position the children of node within the available bounds.

public override void Arrange(FlexalonNode node, Vector3 size)

Parameters

node FlexalonNode
size Vector3

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

node FlexalonNode
size Vector3
min Vector3
max Vector3

Returns

Bounds