|
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.0.8865.1045
Syntax 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
DXRayHitTestResultDXRayHitTestResult if the specified ray hits the specified sceneNode. Otherwise null is returned
See Also