Click or drag to resize
SoWinViewerSetPickRadius Method

Sets the pick radius, in pixels, used by the viewer for picking and seeking actions.

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetPickRadius(
	float radius
)

Parameters

radius
Type: SystemSingle
Remarks

Effectively calls setRadius on the viewer's internal OIV.Inventor.Actions.SoRayPickAction. The default is the OIV.Inventor.Actions.SoRayPickAction default (5 pixels).

Specifying a radius of 0 may give better performance. In particular, some shapes like MoMeshSkin implement a fast GPU picking algorithm that can only be used when radius is 0.

See Also