Interface BuildContext | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface BuildContext

    Namespace: Unity.UIWidgets.widgets
    Syntax
    public interface BuildContext

    Properties

    owner

    Declaration
    BuildOwner owner { get; }
    Property Value
    Type Description
    BuildOwner

    size

    Declaration
    Size size { get; }
    Property Value
    Type Description
    Size

    widget

    Declaration
    Widget widget { get; }
    Property Value
    Type Description
    Widget

    Methods

    ancestorInheritedElementForWidgetOfExactType(Type)

    Declaration
    InheritedElement ancestorInheritedElementForWidgetOfExactType(Type targetType)
    Parameters
    Type Name Description
    System.Type targetType
    Returns
    Type Description
    InheritedElement

    ancestorRenderObjectOfType(TypeMatcher)

    Declaration
    RenderObject ancestorRenderObjectOfType(TypeMatcher matcher)
    Parameters
    Type Name Description
    TypeMatcher matcher
    Returns
    Type Description
    RenderObject

    ancestorStateOfType(TypeMatcher)

    Declaration
    State ancestorStateOfType(TypeMatcher matcher)
    Parameters
    Type Name Description
    TypeMatcher matcher
    Returns
    Type Description
    State

    ancestorWidgetOfExactType(Type)

    Declaration
    Widget ancestorWidgetOfExactType(Type targetType)
    Parameters
    Type Name Description
    System.Type targetType
    Returns
    Type Description
    Widget

    findRenderObject()

    Declaration
    RenderObject findRenderObject()
    Returns
    Type Description
    RenderObject

    inheritFromElement(InheritedElement, Object)

    Declaration
    InheritedWidget inheritFromElement(InheritedElement ancestor, object aspect = null)
    Parameters
    Type Name Description
    InheritedElement ancestor
    System.Object aspect
    Returns
    Type Description
    InheritedWidget

    inheritFromWidgetOfExactType(Type, Object)

    Declaration
    InheritedWidget inheritFromWidgetOfExactType(Type targetType, object aspect = null)
    Parameters
    Type Name Description
    System.Type targetType
    System.Object aspect
    Returns
    Type Description
    InheritedWidget

    rootAncestorStateOfType(TypeMatcher)

    Declaration
    State rootAncestorStateOfType(TypeMatcher matcher)
    Parameters
    Type Name Description
    TypeMatcher matcher
    Returns
    Type Description
    State

    visitAncestorElements(ElementVisitorBool)

    Declaration
    void visitAncestorElements(ElementVisitorBool visitor)
    Parameters
    Type Name Description
    ElementVisitorBool visitor

    visitChildElements(ElementVisitor)

    Declaration
    void visitChildElements(ElementVisitor visitor)
    Parameters
    Type Name Description
    ElementVisitor visitor
    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