Calculates the modelRay ray intersection with the mesh of the sprite, in local coordinates.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] protected override bool ModelRayIntersect( XRay modelRay, XSpriteRayIntersectFlags flags, ref XSpriteRayIntersectionInfo info, XCameraCullMode cameraCull ) |
Parameters
- modelRay
- Type: SGP.XSpace..::.XRay
The XRay ray.
- flags
- Type: SGP.XSpace..::.XSpriteRayIntersectFlags
Restrains for the ray intersection with the 3D world object.
- info
- Type:
SGP.XSpace..::.XSpriteRayIntersectionInfo
%
Gets information about the ray intersection with the 3D world object.
- cameraCull
- Type: SGP.XSpace..::.XCameraCullMode
Defines what kind of surfaces can the ray hit.