Click or drag to resize

RenderPlugInOnEditMaterial Method

This function is called by the Object Properties and Layer Control dialogs when the "Edit" button is pressed in the "Material" tab. This is only called if EnableEditMaterialButton returns true. A return value of true means the material has been updated.

Namespace:  Rhino.PlugIns
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.12
Syntax
public virtual bool OnEditMaterial(
	IntPtr parent,
	RhinoDoc doc,
	ref Material material
)

Parameters

parent
Type: SystemIntPtr

[Missing <param name="parent"/> documentation for "M:Rhino.PlugIns.RenderPlugIn.OnEditMaterial(System.IntPtr,Rhino.RhinoDoc,Rhino.DocObjects.Material@)"]

doc
Type: RhinoRhinoDoc

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

material
Type: Rhino.DocObjectsMaterial

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

Return Value

Type: Boolean

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

See Also