Click or drag to resize
DigitalRuneRay Constructor (RayShape)
Initializes a new instance of Ray from a RayShape.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public Ray(
	RayShape rayShape
)

Parameters

rayShape
Type: DigitalRune.Geometry.ShapesRayShape
The RayShape from which origin and direction are copied.
Exceptions
ExceptionCondition
ArgumentNullExceptionrayShape is .
See Also