 |
ModelNodeGetMeshBoundingBox Method |
Gets the BoundingBox of the Mesh that is used by this ModelNode.
The BoundingBox is transformed by mesh transformation (for example this is used by the BoxModelNode when it is using a shared 1x1x1 mesh).
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic BoundingBox GetMeshBoundingBox(
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 the Mesh that is used by this ModelNode
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.ModelNode.GetMeshBoundingBox(System.Boolean)"]
See Also