Actor GetBoundingSphere Method Delta Engine Documentation

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

BoundingSphere GetBoundingSphere()

Return Value

Type: BoundingSphere
Remarks

Tests: DeltaEngine.GameLogic.Tests.ActorTests
Examples

1 unit tests call DeltaEngine.GameLogic.Actor.GetBoundingSphere
[Test]
public void TestBoundingSphere()
{
    var actor = new MockActor(Vector3D.One, 1.0f);
    var sphere = new BoundingSphere(Vector3D.One, 1.0f);
    Assert.AreEqual(sphere, actor.GetBoundingSphere());
}
See Also