Creates new XRay structure instance with the point of origin and the ray direction vector.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XRay( Vector3 origin, Vector3 direction ) |
Parameters
- origin
- Type: Vector3
Point of origin.
- direction
- Type: Vector3
Ray direction vector.