Description:
Add a material, environment or texture to the internal RDK document lists as top level content. The content must have been returned from RenderContent::MakeCopy, NewContentFromType or a similar function that returns a non-document content. Obsolete - use RhinoDoc.RenderMaterials.Add or similar.
Syntax:
deprecated in 6.0
obsolete: Use RhinoDoc.RenderMaterials.Add
Parameters:
- renderContent
- Type: RenderContent
- The render content.
Returns:
Type: bool
True on success.
Available since:
5.1
Description:
Add a material, environment or texture to the internal RDK document lists as top level content. The content must have been returned from RenderContent::MakeCopy, NewContentFromType or a similar function that returns a non-document content. Obsolete - use RhinoDoc.RenderMaterials.Add or similar.
Syntax:
deprecated in 6.0
obsolete: Use RhinoDoc.RenderMaterials.Add
Parameters:
- document
- Type: RhinoDoc
- The document to attach the render content to.
- renderContent
- Type: RenderContent
- The render content.
Returns:
Type: bool
True on success.
Available since:
6.0