 |
SceneNodeGetLocalBoundingBox 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.
This method always returns the value of
localBoundingBox.
Derived classes can provide additional logic when updateIfDirty is true
(for example ModelNode can call
UpdateMesh method when mesh is dirty;
GroupNode can update mesh on child SceneNodes, etc.).
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic virtual BoundingBox GetLocalBoundingBox(
bool updateIfDirty = true
)
Parameters
- updateIfDirty Boolean (Optional)
- when true (by default) then the mesh or some other part of SceneNode can be updated before returning the BoundingBox; 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.SceneNode.GetLocalBoundingBox(System.Boolean)"]
See Also