Click or drag to resize
IEntityGetBoundingBox Method
Get the bounding box 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
C#
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: BoundingBox
Bounding box of the entity, in world space.
See Also