Search Results for

    Show / Hide Table of Contents

    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
    object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    FlexalonResult
    Syntax
    [ExecuteAlways]
    [DisallowMultipleComponent]
    public class FlexalonResult : MonoBehaviour

    Fields

    AdapterBounds

    Bounds deteremined by Adapter.Measure function.

    Declaration
    public Bounds AdapterBounds
    Field Value
    Type Description
    UnityEngine.Bounds

    ComponentScale

    What the component updater thinks the scale should be in layout space.

    Declaration
    public Vector3 ComponentScale
    Field Value
    Type Description
    UnityEngine.Vector3

    FillSize

    Allocated size for this child when using fill size.

    Declaration
    public Vector3 FillSize
    Field Value
    Type Description
    UnityEngine.Vector3

    LayoutBounds

    Combined bounds of Layout.Measure function and Adapter.Measure functions.

    Declaration
    public Bounds LayoutBounds
    Field Value
    Type Description
    UnityEngine.Bounds

    LayoutPosition

    Arranged position in parent layout space.

    Declaration
    public Vector3 LayoutPosition
    Field Value
    Type Description
    UnityEngine.Vector3

    LayoutRotation

    Arranged rotation in parent layout space.

    Declaration
    public Quaternion LayoutRotation
    Field Value
    Type Description
    UnityEngine.Quaternion

    Parent

    Parent layout

    Declaration
    public Transform Parent
    Field Value
    Type Description
    UnityEngine.Transform

    RotatedAndScaledBounds

    Bounds after layout, scale and rotation used in the parent layout.

    Declaration
    public Bounds RotatedAndScaledBounds
    Field Value
    Type Description
    UnityEngine.Bounds

    ShrinkSize

    Reduced size if parent doesn't have space for child.

    Declaration
    public Vector3 ShrinkSize
    Field Value
    Type Description
    UnityEngine.Vector3

    SiblingIndex

    Index in layout

    Declaration
    public int SiblingIndex
    Field Value
    Type Description
    int

    TargetPosition

    Expected local position set by the layout system.

    Declaration
    public Vector3 TargetPosition
    Field Value
    Type Description
    UnityEngine.Vector3

    TargetRectSize

    Expected rect size set by the layout system.

    Declaration
    public Vector3 TargetRectSize
    Field Value
    Type Description
    UnityEngine.Vector3

    TargetRotation

    Expected local rotation set by the layout system.

    Declaration
    public Quaternion TargetRotation
    Field Value
    Type Description
    UnityEngine.Quaternion

    TargetScale

    Expected local scale set by the layout system.

    Declaration
    public Vector3 TargetScale
    Field Value
    Type Description
    UnityEngine.Vector3

    TransformPosition

    Last position set by transform updater. Used to detect unexpected changes.

    Declaration
    public Vector3 TransformPosition
    Field Value
    Type Description
    UnityEngine.Vector3

    TransformRectSize

    Last rect size set by layout system. Used to detect unexpected changes.

    Declaration
    public Vector2 TransformRectSize
    Field Value
    Type Description
    UnityEngine.Vector2

    TransformRotation

    Last rotation set by transform updater. Used to detect unexpected changes.

    Declaration
    public Quaternion TransformRotation
    Field Value
    Type Description
    UnityEngine.Quaternion

    TransformScale

    Last scale set by transform updater. Used to detect unexpected changes.

    Declaration
    public Vector3 TransformScale
    Field Value
    Type Description
    UnityEngine.Vector3
    In This Article
    Back to top Flexalon 3D Layouts