Ray Constructor
Microsoft Robotics Class Reference
Creates a new instance of a Ray
Namespace: Microsoft.Robotics.PhysicalModel
Assembly: RoboticsCommon (in RoboticsCommon.dll) Version: 4.0.261.0 (4.0.261.0)
Syntax
public Ray(
Vector3 position,
Vector3 direction
)
Parameters
- position
Type: Microsoft.Robotics.PhysicalModel. . :: . .Vector3
Specifies the starting point of the Ray.
- direction
Type: Microsoft.Robotics.PhysicalModel. . :: . .Vector3
Unit vector describing the direction of the Ray.