Click or drag to resize
SoEventGetPositionFloat Method

Returns the window pixel location of the cursor when the event occurred as float values.

Namespace: OIV.Inventor.Events
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SbVec2f GetPositionFloat()

Return Value

Type: SbVec2f
Remarks

The position is relative to the lower left corner of the window in which the event occurred.

Position should be set for all events, but that may not be possible for some events in some display environments. If position was not available, the method returns 0,0.

See Also