Click or drag to resize
ScRayPickActionSetRay Method (Single, SbVec3f, SbVec3f, Single, Single)

Sets a world-space ray along which to pick in the the same way as function defined above, but allows you to set a view angle value.

Namespace: OIV.ScaleViz.Actions
Assembly: OIV.ScaleViz (in OIV.ScaleViz.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public void SetRay(
	float fovy,
	SbVec3f rayStart,
	SbVec3f rayDirection,
	float nearDistance,
	float farDistance
)

Parameters

fovy
Type: SystemSingle
rayStart
Type: OIV.InventorSbVec3f
rayDirection
Type: OIV.InventorSbVec3f
nearDistance
Type: SystemSingle
farDistance
Type: SystemSingle
Remarks

Alternatively, you can use the setRay method above and then specify the view angle using the environment variable OIV_SET_RAY_PRECISION. See SoPreferences.

See Also