Click or drag to resize
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
C#
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: BoundingSphere
Bounding sphere of the entity.

Implements

IEntityGetBoundingSphere(Node, Matrix, Matrix)
See Also