Click or drag to resize
SoHandleEventActionSetPickRadius Method

Sets the radius (in pixels) around the viewport-space point through which the ray passes when doing ray picking.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void SetPickRadius(
	float radiusInPixels
)

Parameters

radiusInPixels
Type: SystemSingle
Remarks

Default is 5 pixels. Ray picking is performed when OIV.Inventor.Actions.SoHandleEventAction.GetPickedPoint() is called.

Note: By default the pick radius set here is only used when testing the ray against lines and points. To enable pick radius for triangle based geometry use the OIV.Inventor.Actions.SoHandleEventAction.EnableRadiusForTriangles(System.Boolean) method.

See Also