Calculates the ray ray intersection with this mesh.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public bool Intersect( XRay ray, XSpriteRayIntersectFlags flags, ref XMeshRayIntersectionInfo info, XCameraCullMode cameraCull ) |
Parameters
- ray
- 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..::.XMeshRayIntersectionInfo
%
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.