ValueRange Start Property Delta Engine Documentation

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

public float Start { get; set; }

Property Value

Type: Single
Remarks

Tests: DeltaEngine.Rendering3D.Particles.Tests.ValueRangeTests
Examples

3 unit tests call DeltaEngine.Rendering3D.Particles.ValueRange.Start
[Test]
public void SingleValueConstructor()
{
    valueRange = new ValueRange(0.1f);
    Assert.AreEqual(0.1f, valueRange.Start);
    Assert.AreEqual(0.1f, valueRange.End);
}
[Test]
public void MinMaxConstructor()
{
    Assert.AreEqual(0.2f, valueRange.Start);
    Assert.AreEqual(0.3f, valueRange.End);
}
[Test]
public void CreateValueRangeFromString()
{
    var range = new ValueRange("0.1, 0.9");
    Assert.AreEqual(0.1f, range.Start);
    Assert.AreEqual(0.9f, range.End);
}
See Also