docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CoreEditorDrawersExtensions

    CoreEditorDrawer extensions

    Inheritance
    object
    CoreEditorDrawersExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public static class CoreEditorDrawersExtensions

    Methods

    Draw<TData>(IEnumerable<IDrawer>, TData, Editor)

    Concatenate a collection of IDrawer as a unique IDrawer

    Declaration
    public static void Draw<TData>(this IEnumerable<CoreEditorDrawer<TData>.IDrawer> drawers, TData data, Editor owner)
    Parameters
    Type Name Description
    IEnumerable<CoreEditorDrawer<TData>.IDrawer> drawers

    A collection of IDrawers

    TData data

    The data source for the inner drawers

    Editor owner

    The editor drawing

    Type Parameters
    Name Description
    TData

    Type of class containing data needed to draw inspector

    In This Article
    Back to top
    Copyright © 2024 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)