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.DocObjectsAssembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
Syntaxpublic Material GetMaterial(
bool frontMaterial
)
Public Function GetMaterial (
frontMaterial As Boolean
) As Material
Parameters
- 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