ValueRangeTests GetRandomValue Method Delta Engine Documentation

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

public void GetRandomValue()
Examples

[Test]
public void GetRandomValue()
{
    Randomizer.Use(new FixedRandom(new[] { 0.4f }));
    Assert.AreEqual(0.24f, valueRange.GetRandomValue(), 0.0001f);
}
See Also