Click or drag to resize

RenderPlugInEnableEditMaterialButton Method

Called to enable/disable the "Edit" button located on the "Material" in the Properties and Layer dialog boxes. The default return value is false which will disable the button. If the button is disabled then the OnEditMaterial function is never called.

Namespace:  Rhino.PlugIns
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public virtual bool EnableEditMaterialButton(
	RhinoDoc doc,
	Material material
)

Parameters

doc
Type: RhinoRhinoDoc

[Missing <param name="doc"/> documentation for "M:Rhino.PlugIns.RenderPlugIn.EnableEditMaterialButton(Rhino.RhinoDoc,Rhino.DocObjects.Material)"]

material
Type: Rhino.DocObjectsMaterial

[Missing <param name="material"/> documentation for "M:Rhino.PlugIns.RenderPlugIn.EnableEditMaterialButton(Rhino.RhinoDoc,Rhino.DocObjects.Material)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Rhino.PlugIns.RenderPlugIn.EnableEditMaterialButton(Rhino.RhinoDoc,Rhino.DocObjects.Material)"]

Version Information

Rhino for Windows

Supported in: 6.2
See Also