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.ActionsAssembly: OIV.ScaleViz (in OIV.ScaleViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic void SetRay(
float fovy,
SbVec3f rayStart,
SbVec3f rayDirection,
float nearDistance,
float farDistance
)
Public Sub SetRay (
fovy As Single,
rayStart As SbVec3f,
rayDirection As SbVec3f,
nearDistance As Single,
farDistance As Single
)
public:
void SetRay(
float fovy,
SbVec3f rayStart,
SbVec3f rayDirection,
float nearDistance,
float farDistance
)
member SetRay :
fovy : float32 *
rayStart : SbVec3f *
rayDirection : SbVec3f *
nearDistance : float32 *
farDistance : float32 -> unit
Parameters
- fovy
- Type: SystemSingle
- rayStart
- Type: OIV.InventorSbVec3f
- rayDirection
- Type: OIV.InventorSbVec3f
- nearDistance
- Type: SystemSingle
- farDistance
- Type: SystemSingle
RemarksAlternatively, 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