Home > Working with SGWorld > ISGWorld > OnInputModeChanged
This event occurs when the TerraExplorer Input mode is changed (e.g., switching from free flight mode to measurements mode).
JavaScript |
|
OnInputModeChanged( NewMode) |
C# |
|
void OnInputModeChanged( MouseInputMode NewMode) |
C++ |
|
HRESULT OnInputModeChanged( MouseInputMode NewMode) |
Parameters
NewMode
Determines the new input mode selected. This parameter can be one of the following values:
·
MI_FREE_FLIGHT = 0
Free flight in the 3D Window.
·
MI_COM_CLIENT = 1
Customized input mode selected by a COM user.
·
MI_CONTROLLED_FLIGHT = 2
The camera is controlled by an operation (e.g.,. Fly to, Circle
Pattern).
·
MI_EDIT = 3
TerraExplorer is in editing input mode.
·
MI_MEASUREMENT = 4
TerraExplorer is in measurements input mode.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.