Creates the ray with its origin in the plane of the view and performs the ray intersection with the object in the world.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public bool RayIntersect( int x, int y, out XSpriteRayIntersectionInfo info ) |
Parameters
- x
- Type: System..::.Int32
The view X coordinate.
- y
- Type: System..::.Int32
The view Y coordinate.
- info
- Type:
SGP.XSpace..::.XSpriteRayIntersectionInfo
%
Gets information about the ray intersection with the 3D world object.