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:
public static bool AddPersistentRenderContent(
RenderContent renderContent
)
deprecated in 6.0
obsolete: Use RhinoDoc.RenderMaterials.Add
Parameters:
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:
public static bool AddPersistentRenderContent(
RhinoDoc document,
RenderContent renderContent
)
deprecated in 6.0
obsolete: Use RhinoDoc.RenderMaterials.Add
Parameters:
  • document
  • Type: RhinoDoc
  • The document to attach the render content to.
Returns:
Type: bool
True on success.
Available since:
6.0

/
/
/
AddPersistentRenderContent

AddPersistentRenderContent method

Class:  Rhino.Render.RenderContent

Nothing found