 |
DXSceneHitTestSceneNode Method |
Returns DXRayHitTestResult if the specified ray hits the specified sceneNode. Otherwise null is returned.
Child SceneNodes are not tested.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntaxpublic 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
DXRayHitTestResultDXRayHitTestResult if the specified ray hits the specified sceneNode. Otherwise null is returned
See Also