This document is archived and information here might be outdated. Recommended version. |
Sets a vector equal to a unit vector with the same direction as the ray.
[Visual Basic .NET] Public Sub QueryVector ( _ ByVal directionVector As IVector3D _ )
[C#] public void QueryVector ( IVector3D directionVector );
[C++]
HRESULT QueryVector(
IVector3D* directionVector
);
[C++] Parameters directionVector
directionVector is a parameter of type IVector3D*
Returns the Vector3D of the Ray. The Vector3D determines the direction the Ray extends from its Origin. The Vector of a Ray is always Normalized to a unit vector.