Namespace: DeltaEngine.Rendering2D.Shapes
Assembly: DeltaEngine.Rendering2D.Shapes (in DeltaEngine.Rendering2D.Shapes.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering2D.Shapes.Tests.Grid2DTests
2 unit tests call DeltaEngine.Rendering2D.Shapes.Grid2D.IsActive
Assembly: DeltaEngine.Rendering2D.Shapes (in DeltaEngine.Rendering2D.Shapes.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: BooleanRemarks
Examples
[Test] public void RenderQuadraticGridWithSizeOfOne() { var grid = new Grid2D(new Size(2), Vector2D.Half); AssertQuadraticGrid(2, grid); foreach (var line in grid.lines) Assert.IsTrue(line.IsActive); }
[Test, CloseAfterFirstFrame] public void InactivatingInactivatesLines() { var grid = new Grid2D(new Size(2), Vector2D.Half); grid.IsActive = false; foreach (var line in grid.lines) Assert.IsFalse(line.IsActive); }
See Also