RenderMaterialCreateBasicMaterial Method (Material) |
Note: This API is now obsolete.
Constructs a new basic material from a
Material.
Namespace:
Rhino.Render
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.1
Syntax [ObsoleteAttribute("Use CreateBasicMaterial(DocObjects.Material material, RhinoDoc doc) instead")]
public static RenderMaterial CreateBasicMaterial(
Material material
)
<ObsoleteAttribute("Use CreateBasicMaterial(DocObjects.Material material, RhinoDoc doc) instead")>
Public Shared Function CreateBasicMaterial (
material As Material
) As RenderMaterial
Parameters
- material
- Type: Rhino.DocObjectsMaterial
(optional)The material to create the basic material from.
Return Value
Type:
RenderMaterialA new basic material.
See Also