IEntityGetBoundingSphere Method |
Get the bounding sphere of this entity (in world space).
Namespace:
GeonBit.Core.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax 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, in world space.
See Also