ValueRange GetRandomValue Method 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 GetRandomValue()

Return Value

Type: Single
Remarks

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

1 unit tests call DeltaEngine.Rendering3D.Particles.ValueRange.GetRandomValue
[Test]
public void GetRandomValue()
{
    Randomizer.Use(new FixedRandom(new[] { 0.4f }));
    Assert.AreEqual(0.24f, valueRange.GetRandomValue(), 0.0001f);
}
See Also