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