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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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.
See Also