RenderPanelsRegisterPanel Method |
Namespace:
Rhino.Render
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic void RegisterPanel(
PlugIn plugin,
RenderPanelType renderPanelType,
Type panelType,
string caption,
bool alwaysShow,
bool initialShow
)
Public Sub RegisterPanel (
plugin As PlugIn,
renderPanelType As RenderPanelType,
panelType As Type,
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.
- 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 user.
- initialShow
- Type: SystemBoolean
Initial visibility state of the custom user interface control.
Version InformationRhino for Windows
Supported in: 6.8
See Also