SoExtSelectionSelectionEventCallback Delegate |
This is the declaration to use for selection event callback functions.
Namespace: OIV.Inventor.Nodes
public delegate bool SelectionEventCallback( SbVec2s position, SbVec3f scenePosition, SoExtSelection selection )
Public Delegate Function SelectionEventCallback ( position As SbVec2s, scenePosition As SbVec3f, selection As SoExtSelection ) As Boolean
public delegate bool SelectionEventCallback( SbVec2s position, SbVec3f scenePosition, SoExtSelection^ selection )
type SelectionEventCallback = delegate of position : SbVec2s * scenePosition : SbVec3f * selection : SoExtSelection -> bool
The position of the event in pixel coordinates (0,0 is lower left corner).
The position of the event in normalized -1..1 3D coordinates.
The selection node that called the function.
If the callback handles the event it must return true, else return false.
See setStartSelectionCallback(), setEndSelectionCallback(), and setMovingSelectionCallback(). These callbacks are useful to modify the selection scene graph (see setSelectionSceneGraph) to implement dynamically changing selection feedback.
Note: These callbacks can only be used in FastEdit mode.