 |
SceneGetHitSceneNodeBounds(Ray, SceneNode, HitTestOptions) Method |
GetHitSceneNodeBounds returns a List of SceneNode objects where the ray intersects the BoundingBox of the SceneNode.
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic List<SceneNode> GetHitSceneNodeBounds(
Ray ray,
SceneNode? rootSceneNode = null,
HitTestOptions? customHitTestOptions = null
)
Parameters
- ray Ray
- Ray object that defines the ray that is used for hit testing
- rootSceneNode SceneNode (Optional)
- SceneNode where the hit testing begins and continues to SceneNode's children. When not set or null, then DXScene.RootNode is used (optional)
- customHitTestOptions HitTestOptions (Optional)
- Optional HitTestOptions that will be used for this hit test. When null (by default), then DefaultHitTestOptions will be used.
Return Value
ListSceneNodea List of SceneNode objects where the ray intersects the BoundingBox of the SceneNode
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Scene.GetHitSceneNodeBounds(Ab4d.SharpEngine.Common.Ray,Ab4d.SharpEngine.SceneNodes.SceneNode,Ab4d.SharpEngine.Common.HitTestOptions)"]
See Also