Tizen Native API
5.5
|
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:
- 2.4, DALi version 1.0.0
Function Documentation
Function to return a normalized axis in a random direction.
- Since:
- 2.4, 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:
- 2.4, 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