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: 9.9.36.0 (9.9.36.0)
Syntax
public void SetPickRadius(
	float radiusInPixels
)

Parameters

radiusInPixels
Type: SystemSingle
Remarks

Default is 5 pixels. Ray picking is performed when 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 enableRadiusForTriangles() method.

See Also