 |
ModelNodeGetLocalBoundingBox Method |
Gets the BoundingBox of this SceneNode 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) and when SceneNode's
DirtyFlags have
MeshDirty set,
then this method will also call
UpdateMesh method (this can regenerate the mesh).
When updateIfDirty parameter is false then the current value of protected
localBoundingBox field is returned.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic override BoundingBox GetLocalBoundingBox(
bool updateIfDirty = true
)
Parameters
- updateIfDirty Boolean (Optional)
- when true (by default) then Update method is called in case mesh is dirty; when false the current value of protected localBoundingBox field is returned.
Return Value
BoundingBoxBoundingBox of this SceneNode in local coordinates
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.ModelNode.GetLocalBoundingBox(System.Boolean)"]
See Also