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 |