RhinoCommon API
MaterialRefsCreate Method |
Call this method to create a MaterialRef which can be used when calling
one of the Add methods.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public MaterialRef Create( MaterialRefCreateParams createParams )
Public Function Create ( createParams As MaterialRefCreateParams ) As MaterialRef
Parameters
- createParams
- Type: Rhino.DocObjectsMaterialRefCreateParams
Values used to initialize the MaterialRef
Return Value
Type: MaterialRefA temporary MaterialRef object, the caller is responsible for disposing of this object.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14