RenderPanelsRegisterPanel Method (PlugIn, RenderPanelType, Type, Guid, String, Boolean, Boolean) |
Namespace:
Rhino.Render
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax public void RegisterPanel(
PlugIn plugin,
RenderPanelType renderPanelType,
Type panelType,
Guid renderEngineId,
string caption,
bool alwaysShow,
bool initialShow
)
Public Sub RegisterPanel (
plugin As PlugIn,
renderPanelType As RenderPanelType,
panelType As Type,
renderEngineId As Guid,
caption As String,
alwaysShow As Boolean,
initialShow As Boolean
)
Parameters
- plugin
- Type: Rhino.PlugInsPlugIn
The plug-in providing the custom user interface - renderPanelType
- Type: Rhino.RenderRenderPanelType
See RenderPanelType for supported user interface types. - panelType
- Type: SystemType
The type of object to be created and added to the render container. - renderEngineId
- Type: SystemGuid
The render engine id allowing the UI to be shown. - caption
- Type: SystemString
The caption for the custom user interface. - alwaysShow
- Type: SystemBoolean
If true the custom user interface will always be visible, if false then
it may be hidden or shown as requested by the renderer. - initialShow
- Type: SystemBoolean
Initial visibility state of the custom user interface control.
See Also