Click or drag to resize
SoRayPickActionEnableConicPickVolume Method

Controls the pick volume shape for picking with OIV.Inventor.Actions.SoRayPickAction.SetRay(OIV.Inventor.SbVec3f, OIV.Inventor.SbVec3f, System.Single, System.Single).

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public void EnableConicPickVolume(
	bool flag
)

Parameters

flag
Type: SystemBoolean
Remarks

The default is false, meaning that the picking volume is a rectangular shape, either a prism or a frustum (depending on which version of setRay was called). When enableConicPickVolume is true the picking volume is a conic shape, either a cylinder or a cone (depending on which version of setRay was called).

Setting enableConicPickVolume to true ensures that the entities picked using OIV.Inventor.Actions.SoRayPickAction.SetRay(OIV.Inventor.SbVec3f, OIV.Inventor.SbVec3f, System.Single, System.Single) will be the same as picking using an equivalent call to OIV.Inventor.Actions.SoRayPickAction.SetPoint(OIV.Inventor.SbVec2s), but this mode is slightly more costly than frustum picking.

See Also