Calculates the ray ray intersection with this mesh.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public bool Intersect(
	XRay ray,
	ref XMeshRayIntersectionInfo info
)

Parameters

ray
Type: SGP.XSpace..::.XRay
The XRay ray.
info
Type: SGP.XSpace..::.XMeshRayIntersectionInfo %
Gets information about the ray intersection with the 3D world object.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the ray intersects any 3D world object.

See Also