Click or drag to resize
RhinoObjectGetMaterial Method
Rhino 5 for Windows
Gets material that this object uses based on it's attributes and the document that the object is associated with. In the rare case that a document is not associated with this object, null will be returned.

Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
public Material GetMaterial(
	bool frontMaterial


Type: SystemBoolean
If true, gets the material used to render the object's front side

Return Value

Type: Material

[Missing <returns> documentation for "M:Rhino.DocObjects.RhinoObject.GetMaterial(System.Boolean)"]

See Also