Click or drag to resize
SoRayPickActionGetNormalizedPoint Method

Gets the viewport point in normalized coordinates [0..1] (returns the last value passed to OIV.Inventor.Actions.SoRayPickAction.SetNormalizedPoint(OIV.Inventor.SbVec2f)).

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public SbVec2f GetNormalizedPoint()

Return Value

Type: SbVec2f
Remarks

A point is inside the viewport if its coordinates are in the range [0, 1].

If no point has been set or the setRay method was called instead of setXXXPoint, this method returns an undefined coordinate (NaN, NaN).

See Also