HierarchyEntity3D IsActive Property Delta Engine Documentation

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

public override bool IsActive { get; set; }

Property Value

Type: Boolean

Implements

HierarchyObject3D IsActive
Remarks

Tests: CreepyTowers.Tests.Towers.TowerTests
Examples

1 unit tests call DeltaEngine.Rendering3D.HierarchyEntity3D.IsActive
[Test, CloseAfterFirstFrame]
public void DisposingTowerRemovesTowerEntity()
{
    var tower = new Tower(TowerType.Water, Vector3D.Zero);
    tower.Dispose();
    Assert.IsFalse(tower.IsActive);
}
See Also