Calculates the worldRay ray intersection with the sprite and its child sprites, in world coordinates.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public bool WorldRayIntersect( XRay worldRay, out XSpriteRayIntersectionInfo info, XSpriteRayIntersectFlags flags ) |
Parameters
- worldRay
- Type: SGP.XSpace..::.XRay
The XRay ray in world coordinates.
- info
- Type:
SGP.XSpace..::.XSpriteRayIntersectionInfo
%
Gets information about the ray intersection with the 3D world object.
- flags
- Type: SGP.XSpace..::.XSpriteRayIntersectFlags
Restrains for the ray intersection with the 3D world object.