Actor GetBoundingBox Method Delta Engine Documentation

Namespace: DeltaEngine.GameLogic
Assembly: DeltaEngine.GameLogic (in DeltaEngine.GameLogic.dll) Version: 1.1.1.0 (1.1.1)
Syntax

BoundingBox GetBoundingBox()

Return Value

Type: BoundingBox
Remarks

Tests: DeltaEngine.GameLogic.Tests.ActorTests
Examples

1 unit tests call DeltaEngine.GameLogic.Actor.GetBoundingBox
[Test]
public void TestBoundingBox()
{
    var actor = new MockActor(Vector3D.One, 1.0f);
    var box = new BoundingBox(new Vector3D(0.5f, 0.5f, 0.5f), new Vector3D(1.5f, 1.5f, 1.5f));
    Assert.AreEqual(box, actor.GetBoundingBox());
}
See Also