Class FlexalonResult
This component is added to each object in a layout. It stores the results of the layout process so they can be loaded from a scene/prefab without rerunning layout.
Inheritance
Syntax
[ExecuteAlways]
[DisallowMultipleComponent]
public class FlexalonResult : MonoBehaviourFields
AdapterBounds
Bounds deteremined by Adapter.Measure function.
Declaration
public Bounds AdapterBoundsField Value
| Type | Description | 
|---|---|
| UnityEngine.Bounds | 
ComponentScale
What the component updater thinks the scale should be in layout space.
Declaration
public Vector3 ComponentScaleField Value
| Type | Description | 
|---|---|
| UnityEngine.Vector3 | 
FillSize
Allocated size for this child when using fill size.
Declaration
public Vector3 FillSizeField Value
| Type | Description | 
|---|---|
| UnityEngine.Vector3 | 
LayoutBounds
Combined bounds of Layout.Measure function and Adapter.Measure functions.
Declaration
public Bounds LayoutBoundsField Value
| Type | Description | 
|---|---|
| UnityEngine.Bounds | 
LayoutPosition
Arranged position in parent layout space.
Declaration
public Vector3 LayoutPositionField Value
| Type | Description | 
|---|---|
| UnityEngine.Vector3 | 
LayoutRotation
Arranged rotation in parent layout space.
Declaration
public Quaternion LayoutRotationField Value
| Type | Description | 
|---|---|
| UnityEngine.Quaternion | 
Parent
Parent layout
Declaration
public Transform ParentField Value
| Type | Description | 
|---|---|
| UnityEngine.Transform | 
RotatedAndScaledBounds
Bounds after layout, scale and rotation used in the parent layout.
Declaration
public Bounds RotatedAndScaledBoundsField Value
| Type | Description | 
|---|---|
| UnityEngine.Bounds | 
ShrinkSize
Reduced size if parent doesn't have space for child.
Declaration
public Vector3 ShrinkSizeField Value
| Type | Description | 
|---|---|
| UnityEngine.Vector3 | 
SiblingIndex
Index in layout
Declaration
public int SiblingIndexField Value
| Type | Description | 
|---|---|
| int | 
TargetPosition
Expected local position set by the layout system.
Declaration
public Vector3 TargetPositionField Value
| Type | Description | 
|---|---|
| UnityEngine.Vector3 | 
TargetRectSize
Expected rect size set by the layout system.
Declaration
public Vector3 TargetRectSizeField Value
| Type | Description | 
|---|---|
| UnityEngine.Vector3 | 
TargetRotation
Expected local rotation set by the layout system.
Declaration
public Quaternion TargetRotationField Value
| Type | Description | 
|---|---|
| UnityEngine.Quaternion | 
TargetScale
Expected local scale set by the layout system.
Declaration
public Vector3 TargetScaleField Value
| Type | Description | 
|---|---|
| UnityEngine.Vector3 | 
TransformPosition
Last position set by transform updater. Used to detect unexpected changes.
Declaration
public Vector3 TransformPositionField Value
| Type | Description | 
|---|---|
| UnityEngine.Vector3 | 
TransformRectSize
Last rect size set by layout system. Used to detect unexpected changes.
Declaration
public Vector2 TransformRectSizeField Value
| Type | Description | 
|---|---|
| UnityEngine.Vector2 | 
TransformRotation
Last rotation set by transform updater. Used to detect unexpected changes.
Declaration
public Quaternion TransformRotationField Value
| Type | Description | 
|---|---|
| UnityEngine.Quaternion | 
TransformScale
Last scale set by transform updater. Used to detect unexpected changes.
Declaration
public Vector3 TransformScaleField Value
| Type | Description | 
|---|---|
| UnityEngine.Vector3 |