Click or drag to resize
SoRayPickActionSetPoint Method (SbVec2s)

Sets the viewport point through which the ray passes, starting at the camera position.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public virtual void SetPoint(
	SbVec2s viewportPoint
)

Parameters

viewportPoint
Type: OIV.InventorSbVec2s
Remarks

Viewport coordinates range from (0,0) at the lower left to (width-1,height-1) at the upper right. Default is (0,0).

NOTE: You can use this method or OIV.Inventor.Actions.SoRayPickAction.SetNormalizedPoint(OIV.Inventor.SbVec2f) or OIV.Inventor.Actions.SoRayPickAction.SetRay(OIV.Inventor.SbVec3f, OIV.Inventor.SbVec3f, System.Single, System.Single). Whichever method you call last is the one that takes effect.

See Also