Click or drag to resize

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

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)
Since: 7.0
Syntax
public void RegisterPanel(
	PlugIn plugin,
	RenderPanelType renderPanelType,
	Type panelType,
	Guid renderEngineId,
	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.
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