Click or drag to resize

RenderPanelsRegisterPanel Method (PlugIn, RenderPanelType, Type, String, Boolean, Boolean)

Note: This API is now obsolete.

Register custom render user interface with Rhino. This should only be done in RegisterRenderPanels(RenderPanels). Panels registered after RegisterRenderPanels(RenderPanels) is called will be ignored.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
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
)

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