nw::gfx::ParticleRandom Class

Syntax

class ParticleRandom

Description

Class that generates random numbers for particles.

Member Functions

ParticleRandom Constructor.
Srand Sets the random-number seed.
Next Gets a random integer number.
NextFloat Gets a floating point numerical value between 0 and 1.
NextFloatSignedOne Gets a floating point numerical value between -1 and 1.
NextFloatSignedHalf Gets a floating point numerical value between -0.5 and 0.5.
Set Sets the ParticleRandom.

CONFIDENTIAL