docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetVisualElement

    GetVisualElement(object)

    Get the visual element for the MetadataFilter.

    Declaration
    public VisualElement GetVisualElement(object obj)
    Parameters
    Type Name Description
    object obj

    The MetadataFilter object to visualize.

    Returns
    Type Description
    VisualElement

    The visual element for the MetadataFilter.

    Implements
    ICustomWidget.GetVisualElement(object)
    Exceptions
    Type Condition
    ArgumentException

    Thrown when the object is not a MetadataFilter.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)