| Ray Constructor (Vector3F, Vector3F, Single) |
Initializes a new instance of
Line with the given origin and direction.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public Ray(
Vector3F origin,
Vector3F direction,
float length
)
Public Sub New (
origin As Vector3F,
direction As Vector3F,
length As Single
)
public:
Ray(
Vector3F origin,
Vector3F direction,
float length
)
new :
origin : Vector3F *
direction : Vector3F *
length : float32 -> Ray
Parameters
- origin
- Type: DigitalRune.Mathematics.AlgebraVector3F
The origin. - direction
- Type: DigitalRune.Mathematics.AlgebraVector3F
The direction. - length
- Type: SystemSingle
The finite length.
See Also