Tizen(Headed) Native API  6.5
Dali::Random Namespace Reference

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]f0The lower bound
[in]f1The upper bound
Returns:
A random value between the lower and upper bound