BaseRenderableEntityGetBoundingSphere Method |
Get the bounding sphere 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 BoundingSphere GetBoundingSphere(
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:
BoundingSphereBounding sphere of the entity.
Implements
IEntityGetBoundingSphere(Node, Matrix, Matrix)See Also