 |
SceneHitTestSceneNode Method |
Returns RayHitTestResult if the specified ray hits the specified sceneNode. Otherwise, null is returned.
Child SceneNodes are not tested.
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic RayHitTestResult? HitTestSceneNode(
Ray ray,
SceneNode sceneNode,
HitTestOptions? customHitTestOptions = null
)
Parameters
- ray Ray
- Ray object that defines the ray that is used for hit testing
- sceneNode SceneNode
- tested SceneNode
- customHitTestOptions HitTestOptions (Optional)
- Optional HitTestOptions that will be used for this hit test. When null (by default), then DefaultHitTestOptions will be used.
Return Value
RayHitTestResultRayHitTestResult if the specified ray hits the specified sceneNode. Otherwise, null is returned
See Also