Click or drag to resize
Ab4d.SharpEngine logo

SceneGetHitSceneNodeBounds(ListSceneNode, Ray, SceneNode, HitTestOptions) Method

GetHitSceneNodeBounds add all SceneNode objects where the ray intersects the BoundingBox of the SceneNode to the specified hitSceneNodes List.

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public void GetHitSceneNodeBounds(
	List<SceneNode> hitSceneNodes,
	Ray ray,
	SceneNode? rootSceneNode = null,
	HitTestOptions? customHitTestOptions = null
)

Parameters

hitSceneNodes  ListSceneNode
List of SceneNode items to which the hit results are added
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.
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Scene.GetHitSceneNodeBounds(System.Collections.Generic.List{Ab4d.SharpEngine.SceneNodes.SceneNode},Ab4d.SharpEngine.Common.Ray,Ab4d.SharpEngine.SceneNodes.SceneNode,Ab4d.SharpEngine.Common.HitTestOptions)"]

See Also