RhinoCommon API
RenderContentRegisterContent Method (Assembly, Guid) |
Call RegisterContent in your plug-in's OnLoad function in order to register all of the
custom RenderContent classes in your assembly.
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.1
public static Type[] RegisterContent( Assembly assembly, Guid pluginId )
Public Shared Function RegisterContent ( assembly As Assembly, pluginId As Guid ) As Type()
Parameters
- assembly
- Type: System.ReflectionAssembly
Assembly where custom content is defined, this may be a plug-in assembly or another assembly referenced by the plug-in. - pluginId
- Type: SystemGuid
Parent plug-in for this assembly.
Return Value
Type: Typearray of render content types registered on success. null on error.