Class SingleChildLayoutDelegate | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class SingleChildLayoutDelegate

    Inheritance
    System.Object
    SingleChildLayoutDelegate
    _TooltipPositionDelegate
    Namespace: Unity.UIWidgets.rendering
    Syntax
    public abstract class SingleChildLayoutDelegate

    Constructors

    SingleChildLayoutDelegate(Listenable)

    Declaration
    public SingleChildLayoutDelegate(Listenable _relayout = null)
    Parameters
    Type Name Description
    Listenable _relayout

    Fields

    _relayout

    Declaration
    public readonly Listenable _relayout
    Field Value
    Type Description
    Listenable

    Methods

    getConstraintsForChild(BoxConstraints)

    Declaration
    public virtual BoxConstraints getConstraintsForChild(BoxConstraints constraints)
    Parameters
    Type Name Description
    BoxConstraints constraints
    Returns
    Type Description
    BoxConstraints

    getPositionForChild(Size, Size)

    Declaration
    public virtual Offset getPositionForChild(Size size, Size childSize)
    Parameters
    Type Name Description
    Size size
    Size childSize
    Returns
    Type Description
    Offset

    getSize(BoxConstraints)

    Declaration
    public virtual Size getSize(BoxConstraints constraints)
    Parameters
    Type Name Description
    BoxConstraints constraints
    Returns
    Type Description
    Size

    shouldRelayout(SingleChildLayoutDelegate)

    Declaration
    public abstract bool shouldRelayout(SingleChildLayoutDelegate oldDelegate)
    Parameters
    Type Name Description
    SingleChildLayoutDelegate oldDelegate
    Returns
    Type Description
    System.Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023