Click or drag to resize
AB4D logo

SceneNodeGetSceneNodesBounds Method

Returns the Bounds of the scene nodes that are children of the rootSceneNode. The sceneNodesFilter Func can be used to choose which scene nodes to use.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
public static Bounds GetSceneNodesBounds(
	SceneNode rootSceneNode,
	Func<SceneNode, bool> sceneNodesFilter = null


rootSceneNode  SceneNode
root scene node
sceneNodesFilter  FuncSceneNode, Boolean  (Optional)
Func that should return true for all SceneNodes that should be used to calculate Bounds

Return Value

Bounds of the rootSceneNode child nodes
See Also