Method | Description | |
---|---|---|
Apply ( |
Apply extra initial values to the material.
|
|
GetPropertyHeight ( |
Override this method to specify how tall the GUI for this property is in pixels.
|
|
OnGUI ( |
||
OnGUI ( |
Override this method to make your own GUI for the property.
|
Method | Description | |
---|---|---|
MaterialPropertyDrawer ( ) : System |
public Apply ( |
||
prop | The MaterialProperty to apply values for. | |
return | void |
public GetPropertyHeight ( |
||
prop | The MaterialProperty to make the custom GUI for. | |
label | string | The label of this property. |
editor | Current material editor. | |
return | float |
protected MaterialPropertyDrawer ( ) : System | ||
return | System |
public OnGUI ( |
||
position | ||
prop | ||
label | ||
editor | ||
return | void |
public OnGUI ( |
||
position | Rectangle on the screen to use for the property GUI. | |
prop | The MaterialProperty to make the custom GUI for. | |
label | string | The label of this property. |
editor | Current material editor. | |
return | void |