BaseRenderableEntityGetBoundingBox Method |
Get the bounding box of this entity, either from cache or calculate it.
Namespace:
GeonBit.Core.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public BoundingBox GetBoundingBox(
Node parent,
ref Matrix localTransformations,
ref Matrix worldTransformations
)
Parameters
- parent
- Type: GeonBit.Core.GraphicsNode
Parent node that's currently drawing this entity. - localTransformations
- Type: Matrix
Local transformations from the direct parent node. - worldTransformations
- Type: Matrix
World transformations to apply on this entity (this is what you should use to draw this entity).
Return Value
Type:
BoundingBoxBounding box of the entity.
Implements
IEntityGetBoundingBox(Node, Matrix, Matrix)See Also