 |
GroupNodeRemove(SceneNode, Boolean) Method |
Removes the specified SceneNode from the children collection.
If updateBoundingBox is false (useful when removing multiple SceneNodes), then the
UpdateBoundingBox method must be called after all the SceneNodes are removed.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic bool Remove(
SceneNode sceneNode,
bool updateBoundingBox
)
Parameters
- sceneNode SceneNode
- SceneNode to remove
- updateBoundingBox Boolean
- when false, than bounding box is not recalculated from the children after the removal
Return Value
Booleantrue when the specified SceneNode was removed; false when it was not found in the children collection
See Also