Description:

This function is called by the Object Properties and Layer Control dialogs when the "New" button is pressed in the "Material" tab. This is only called if EnableCreateMaterialButton returns true.

Syntax:
public virtual bool OnCreateMaterial(
IntPtr parent,
RhinoDoc doc,
ref Material material
)
virtual
Returns:
Type: bool
Available since:
5.12

OnCreateMaterial method

Class:  Rhino.PlugIns.RenderPlugIn

Nothing found