Methods
Get the instance of a render panel associated with a specific render session, this is useful when it is necessary to update a control from a RenderPipeline
public static object FromRenderSessionId()
plugIn,
The plug-in that registered the custom user interface
panelType,
The type of panel to return
renderSessionId
The RenderPipeline.RenderSessionId of a specific render session.
Returns: Returns the custom panel object if found; otherwise null is returned.
Register custom render user interface with Rhino. This should only be done in RenderPlugIn.RegisterRenderPanels(RenderPanels). Panels registered after RenderPlugIn.RegisterRenderPanels(RenderPanels) is called will be ignored.
public void RegisterPanel()
plugin,
The plug-in providing the custom user interface
renderPanelType,
See RenderPanelType for supported user interface types.
panelType,
The type of object to be created and added to the render container.
renderEngineId,
The render engine id allowing the UI to be shown.
caption,
The caption for the custom user interface.
alwaysShow,
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,
Initial visibility state of the custom user interface control.
pos
The position to dock the extra side pane at.
Register custom render user interface with Rhino. This should only be done in RenderPlugIn.RegisterRenderPanels(RenderPanels). Panels registered after RenderPlugIn.RegisterRenderPanels(RenderPanels) is called will be ignored.
public void RegisterPanel()
plugin,
The plug-in providing the custom user interface
renderPanelType,
See RenderPanelType for supported user interface types.
panelType,
The type of object to be created and added to the render container.
renderEngineId,
The render engine id allowing the UI to be shown.
caption,
The caption for the custom user interface.
alwaysShow,
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
Initial visibility state of the custom user interface control.
Register custom render user interface with Rhino. This should only be done in RenderPlugIn.RegisterRenderPanels(RenderPanels). Panels registered after RenderPlugIn.RegisterRenderPanels(RenderPanels) is called will be ignored.
public void RegisterPanel()
plugin,
The plug-in providing the custom user interface
renderPanelType,
See RenderPanelType for supported user interface types.
panelType,
The type of object to be created and added to the render container.
caption,
The caption for the custom user interface.
alwaysShow,
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
Initial visibility state of the custom user interface control.
obsoleteUse RegisterPanel(PlugIn plugin, RenderPanelType renderPanelType, Type panelType, Guid renderEngineId, string caption, bool alwaysShow, bool initialShow)