Interface Layout
A layout determines how the children of a node are positioned.
Syntax
public interface Layout
Methods
Arrange(FlexalonNode, Vector3)
Position the children of node within the available bounds.
Declaration
void Arrange(FlexalonNode node, Vector3 layoutSize)
Parameters
Type | Name | Description |
---|---|---|
FlexalonNode | node | |
UnityEngine.Vector3 | layoutSize |
Measure(FlexalonNode, Vector3, Vector3, Vector3)
Perform minimal work to determine what the size of node and available size for node's children.
Declaration
Bounds Measure(FlexalonNode node, Vector3 size, Vector3 min, Vector3 max)
Parameters
Type | Name | Description |
---|---|---|
FlexalonNode | node | |
UnityEngine.Vector3 | size | |
UnityEngine.Vector3 | min | |
UnityEngine.Vector3 | max |
Returns
Type | Description |
---|---|
UnityEngine.Bounds |