Tizen Native API
3.0
|
Provides methods to generate and use random values. More...
Functions | |
float | Range (float f0, float f1) |
Returns a random number between f0 and f1. | |
Vector4 | Axis () |
Function to return a normalized axis in a random direction. |
Detailed Description
Provides methods to generate and use random values.
- Since:
- 3.0, DALi version 1.0.0
Function Documentation
Function to return a normalized axis in a random direction.
- Since:
- 3.0, DALi version 1.0.0
- Returns:
- The axis
float Dali::Random::Range | ( | float | f0, |
float | f1 | ||
) |
Returns a random number between f0 and f1.
Note, uses a limited number of values.
- Since:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in] f0 The lower bound [in] f1 The upper bound
- Returns:
- A random value between the lower and upper bound