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: 2023.1.3.0 (2023.1.3)
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