nn::math::RandomGenerator::RandomGenerator Constructor

Syntax

RandomGenerator();

RandomGenerator(
     u64 seed
);

List of Overloaded Member Functions

RamdomGenerator ( ) This is the default constructor. Nintendo recommends NOT using this normally.
RandomGenerator ( u64 ) The constructor for specifying a random number seed value. Normally you should use this.

Description of RandomGenerator ( )

If you plan to use this, be sure to run SetSeed and set the pseudorandom number seed value, before generating random numbers.

Description of RandomGenerator ( u64 )

The constructor for specifying a random number seed value. Normally you should use this.


CONFIDENTIAL