Click or drag to resize
SoRayPickActionEnableRadiusForTriangles Method

Enable radius for triangle-based shape.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void EnableRadiusForTriangles(
	bool flag
)

Parameters

flag
Type: SystemBoolean
Remarks

If true, the radius of the ray specified by OIV.Inventor.Actions.SoRayPickAction.SetRadius(System.Single) is taken in account when checking for a ray intersection with triangle-based shapes (e.g., OIV.Inventor.Nodes.SoCylinder). Otherwise, the pick radius for these shapes is 1 pixel regardless of the specified pick radius. Default is false for performance.

See Also