Click or drag to resize
AB4D logo

DXSceneGetHitSceneNodeBounds Method

GetHitSceneNodeBounds returns a List of SceneNode objects where the ray intersects the BoundingBox of the SceneNode.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public List<SceneNode> GetHitSceneNodeBounds(
	Ray ray,
	SceneNode rootSceneNode = null
)

Parameters

ray  Ray
SharpDX.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)

Return Value

ListSceneNode
a List of SceneNode objects where the ray intersects the BoundingBox of the SceneNode
See Also