SoWinDirectionalLightEditor Class |
Component for editing directional lights.
Namespace: OIV.Inventor.Win
The SoWinDirectionalLightEditor type exposes the following members.
Name | Description | |
---|---|---|
SoWinDirectionalLightEditor | Calls SoWinDirectionalLightEditor((System.Windows.Forms.Control ^)nullptr, (System.String ^)nullptr, true). | |
SoWinDirectionalLightEditor(Control) | Calls SoWinDirectionalLightEditor(parent, (System.String ^)nullptr, true). | |
SoWinDirectionalLightEditor(Control, String) | Calls SoWinDirectionalLightEditor(parent, name, true). | |
SoWinDirectionalLightEditor(Control, String, Boolean) | Constructor. |
Name | Description | |
---|---|---|
Attach | Attaches the editor to a directional light. | |
Detach | Detaches the editor from a directional light. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetClassName | Returns the class name. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetIconTitle | Included for portability only. | |
GetLight | Gets the current light values. | |
GetSize | Convenience routine on the window handle. | |
GetTitle | Gets window title. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWidgetName | Returns the window handle name. | |
Hide | This hides the component. | |
IsAttached | Returns true if the editor is attached. | |
IsFullScreen | Queries if the viewer is in fullscreen mode. | |
IsFullScreenEnable | Queries if it is possible to put the viewer in fullscreen mode. | |
IsTopLevelShell | Returns true if this component is a top level shell component (has its own window). | |
IsVisible | Returns true if this component is mapped onto the screen. | |
SetFullScreen | Switches the viewer into (or out of) fullscreen mode. | |
SetFullScreenEnable | Enables/disables fullscreen mode. | |
SetIconTitle | Included for portability only. | |
SetLight | Sets new light values. | |
SetSize | Convenience routine on the window handle. | |
SetTitle | Sets window title. | |
Show | This shows the component. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AlwaysOnTop | ||
Handle |
Implements Handle.
(Inherited from SoWinComponent.) | |
WindowCloseCallback | Sets the delegate to invoke when the user closes this component (double click in the upper left corner) - by default Hide() is called on this component, unless a delegate is specified. |
Name | Description | |
---|---|---|
LightChanged |
This class is used to edit an OIV.Inventor.Nodes.SoDirectionalLight node (color, intensity, and direction are changed). In addition to directly editing directional light nodes, the editor can also be used with callbacks which will be called whenever the light is changed. The component consists of a render area and a value slider in the main window, with controls to display a color picker. In the render area there appears a sphere representing the world, and a directional light manipulator representing the direction of the light. Picking on the manipulator and moving the mouse provides direct manipulation of the light direction. The color picker is used to edit the color, and the value slider edits the intensity.
The editor can currently be attached to only one light at a time. Attaching to two different lights will automatically detach the first one before attaching the second.