Class FlexalonResult
- Namespace
- Flexalon
- Assembly
- Flexalon.dll
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.
public class FlexalonResult : MonoBehaviour
- Inheritance
-
objectFlexalonResult
Fields
AdapterBounds
Bounds deteremined by Adapter.Measure function.
public Bounds AdapterBounds
Field Value
- Bounds
ComponentScale
What the component updater thinks the scale should be in layout space.
public Vector3 ComponentScale
Field Value
- Vector3
FillSize
Allocated size for this child when using fill size.
public Vector3 FillSize
Field Value
- Vector3
LayoutBounds
Combined bounds of Layout.Measure function and Adapter.Measure functions.
public Bounds LayoutBounds
Field Value
- Bounds
LayoutPosition
Arranged position in parent layout space.
public Vector3 LayoutPosition
Field Value
- Vector3
LayoutRotation
Arranged rotation in parent layout space.
public Quaternion LayoutRotation
Field Value
- Quaternion
Parent
Parent layout
public Transform Parent
Field Value
- Transform
RotatedAndScaledBounds
Bounds after layout, scale and rotation used in the parent layout.
public Bounds RotatedAndScaledBounds
Field Value
- Bounds
ShrinkSize
Reduced size if parent doesn't have space for child.
public Vector3 ShrinkSize
Field Value
- Vector3
SiblingIndex
Index in layout
public int SiblingIndex
Field Value
- int
TargetPosition
Expected local position set by the layout system.
public Vector3 TargetPosition
Field Value
- Vector3
TargetRectSize
Expected rect size set by the layout system.
public Vector3 TargetRectSize
Field Value
- Vector3
TargetRotation
Expected local rotation set by the layout system.
public Quaternion TargetRotation
Field Value
- Quaternion
TargetScale
Expected local scale set by the layout system.
public Vector3 TargetScale
Field Value
- Vector3
TransformPosition
Last position set by transform updater. Used to detect unexpected changes.
public Vector3 TransformPosition
Field Value
- Vector3
TransformRectSize
Last rect size set by layout system. Used to detect unexpected changes.
public Vector2 TransformRectSize
Field Value
- Vector2
TransformRotation
Last rotation set by transform updater. Used to detect unexpected changes.
public Quaternion TransformRotation
Field Value
- Quaternion
TransformScale
Last scale set by transform updater. Used to detect unexpected changes.
public Vector3 TransformScale
Field Value
- Vector3