Finds first collision with tree2.

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

Syntax

C#
public XOrientedBoxTree..::.HitInfo FindFirstHit(
	XOrientedBoxTree tree2,
	Matrix transform2,
	XCollisionDetection mode
)

Parameters

tree2
Type: SGP.XSpace..::.XOrientedBoxTree
The XOrientedBoxTree box tree.
transform2
Type: Matrix
The coordinate Matrix transform.
mode
Type: SGP.XSpace..::.XCollisionDetection
The XCollisionDetection collision detection mode.

Return Value

Returns the XOrientedBoxTree..::.HitInfo intersection information.

See Also