docs.unity.cn
    Show / Hide Table of Contents

    Interface CoreEditorDrawer<TData>.IDrawer

    Abstraction that have the Draw hability

    Namespace: UnityEditor.Rendering
    Syntax
    public interface 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(Int32)

    Expands all children that use a given mask

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

    The mask to expand

    Returns
    Type Description
    Boolean

    If the drawer is expanded

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 21 July 2023