RenderPanelsRegisterPanel Method (PlugIn, RenderPanelType, Type, String, Boolean, Boolean) |
Note: This API is now obsolete.
Namespace:
Rhino.Render
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.11
Syntax [ObsoleteAttribute("Use RegisterPanel(PlugIn plugin, RenderPanelType renderPanelType, Type panelType, Guid renderEngineId, string caption, bool alwaysShow, bool initialShow)")]
public void RegisterPanel(
PlugIn plugin,
RenderPanelType renderPanelType,
Type panelType,
string caption,
bool alwaysShow,
bool initialShow
)
<ObsoleteAttribute("Use 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,
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.
See Also