Creates the ray and performs the intersection with the 3D world.
            
    Namespace: 
   SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# | 
|---|
public Vector3 RayIntersect( float x, float y, float z, float vx, float vy, float vz, out float distance )  | 
Parameters
- x
 - Type: System..::.Single
The X coordinate of the ray origin. 
- y
 - Type: System..::.Single
The Y coordinate of the ray origin. 
- z
 - Type: System..::.Single
The Z coordinate of the ray origin. 
- vx
 - Type: System..::.Single
The ray direction in the X axis. 
- vy
 - Type: System..::.Single
The ray direction in the Y axis. 
- vz
 - Type: System..::.Single
The ray direction in the Z axis. 
- distance
 - Type: 
            System..::.Single
          %
Returns the distance of the sprite intersection from the observer.