Click or drag to resize
Ab4d.SharpEngine logo

GroupNodeGetLocalBoundingBox Method

Gets the BoundingBox of all the child SceneNodes in local coordinates. The BoundingBox is transformed by transformation on this SceneNode but not by parent's transformations. When updateIfDirty parameter is true (by default) then the DirtyFlags of all child SceneNodes are checked and the Update method is called in case the mesh is dirty. When updateIfDirty parameter is false then the current value of protected localBoundingBox field is returned.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public override BoundingBox GetLocalBoundingBox(
	bool updateIfDirty = true
)

Parameters

updateIfDirty  Boolean  (Optional)
when true (by default) then the DirtyFlags of all child SceneNodes are checked and the Update method is called in case the mesh is dirty; when false the current value of protected localBoundingBox field is returned.

Return Value

BoundingBox
BoundingBox of this SceneNode in local coordinates
See Also