docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface CoreEditorDrawer<TData>.IDrawer

    Abstraction that have the Draw hability

    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public interface CoreEditorDrawer<TData>.IDrawer

    Methods

    Draw(TData, Editor)

    The draw function

    Declaration
    void Draw(TData serializedProperty, Editor owner)
    Parameters
    Type Name Description
    TData serializedProperty

    The SerializedProperty to draw

    Editor owner

    The editor handling this draw call

    Expand(int)

    Expands all children that use a given mask

    Declaration
    bool Expand(int mask)
    Parameters
    Type Name Description
    int mask

    The mask to expand

    Returns
    Type Description
    bool

    If the drawer is expanded

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    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)