| SceneHelperGetSubtreeAabb Method |
Gets the AABB of the current subtree.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static Nullable<Aabb> GetSubtreeAabb(
this SceneNode sceneNode
)
<ExtensionAttribute>
Public Shared Function GetSubtreeAabb (
sceneNode As SceneNode
) As Nullable(Of Aabb)
public:
[ExtensionAttribute]
static Nullable<Aabb> GetSubtreeAabb(
SceneNode^ sceneNode
)
[<ExtensionAttribute>]
static member GetSubtreeAabb :
sceneNode : SceneNode -> Nullable<Aabb>
Parameters
- sceneNode
- Type: DigitalRune.Graphics.SceneGraphSceneNode
The scene node (= root of subtree).
Return Value
Type:
NullableAabb
The AABB of the subtree rooted at
sceneNode, or
if
the subtree is empty.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SceneNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also