Click or drag to resize
AB4D logo

DXSceneHitTestSceneNode Method

Returns DXRayHitTestResult if the specified ray hits the specified sceneNode. Otherwise null is returned. Child SceneNodes are not tested.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public DXRayHitTestResult HitTestSceneNode(
	Ray ray,
	SceneNode sceneNode
)

Parameters

ray  Ray
SharpDX.Ray object that defines the ray that is used for hit testing
sceneNode  SceneNode
tested SceneNode

Return Value

DXRayHitTestResult
DXRayHitTestResult if the specified ray hits the specified sceneNode. Otherwise null is returned
See Also