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

    Class _TooltipPositionDelegate

    Inheritance
    System.Object
    SingleChildLayoutDelegate
    _TooltipPositionDelegate
    Inherited Members
    SingleChildLayoutDelegate._relayout
    SingleChildLayoutDelegate.getSize(BoxConstraints)
    Namespace: Unity.UIWidgets.material
    Syntax
    public class _TooltipPositionDelegate : SingleChildLayoutDelegate

    Constructors

    _TooltipPositionDelegate(Offset, Nullable<Single>, Nullable<Boolean>)

    Declaration
    public _TooltipPositionDelegate(Offset target = null, float? verticalOffset = default(float? ), bool? preferBelow = default(bool? ))
    Parameters
    Type Name Description
    Offset target
    System.Nullable<System.Single> verticalOffset
    System.Nullable<System.Boolean> preferBelow

    Fields

    preferBelow

    Declaration
    public readonly bool preferBelow
    Field Value
    Type Description
    System.Boolean

    target

    Declaration
    public readonly Offset target
    Field Value
    Type Description
    Offset

    verticalOffset

    Declaration
    public readonly float verticalOffset
    Field Value
    Type Description
    System.Single

    Methods

    getConstraintsForChild(BoxConstraints)

    Declaration
    public override BoxConstraints getConstraintsForChild(BoxConstraints constraints)
    Parameters
    Type Name Description
    BoxConstraints constraints
    Returns
    Type Description
    BoxConstraints
    Overrides
    SingleChildLayoutDelegate.getConstraintsForChild(BoxConstraints)

    getPositionForChild(Size, Size)

    Declaration
    public override Offset getPositionForChild(Size size, Size childSize)
    Parameters
    Type Name Description
    Size size
    Size childSize
    Returns
    Type Description
    Offset
    Overrides
    SingleChildLayoutDelegate.getPositionForChild(Size, Size)

    shouldRelayout(SingleChildLayoutDelegate)

    Declaration
    public override bool shouldRelayout(SingleChildLayoutDelegate oldDelegate)
    Parameters
    Type Name Description
    SingleChildLayoutDelegate oldDelegate
    Returns
    Type Description
    System.Boolean
    Overrides
    SingleChildLayoutDelegate.shouldRelayout(SingleChildLayoutDelegate)
    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