Pyro higlevel API
|
Public Types | |
enum | { STRING_ALL, STRING_ALPHA, STRING_ALPHANUMERIC } |
Public Member Functions | |
Random (bool bSeedRandom=true) | |
os::font_properties | AsFont (bool bAntiAlias=true, bool bShearing=false, bool bRotation=false) |
os::DateTime | AsDateTime () |
os::String | AsString (uint nType=STRING_ALPHANUMERIC, int nWidth=-1) |
os::Color32 | AsColor (bool bAlpha=false) |
os::Point | AsPoint (os::Point start, os::Point end) |
os::Rect | AsRect (os::Rect start, os::Rect end) |
os::IPoint | AsIPoint (os::IPoint start, os::IPoint end) |
os::IRect | AsIRect (os::IRect start, os::IRect end) |
float | AsFloat (float rangeStart=0.0, float rangeEnd=FLT_MAX) |
double | AsDouble () |
int | AsInt (int rangeStart=0, int rangeEnd=RAND_MAX) |
Static Public Member Functions | |
static void | SeedRandom (int time=-1) |
os::Random::Random | ( | bool | bSeedRandom = true | ) |
os::Color32 os::Random::AsColor | ( | bool | bAlpha = false | ) |
os::DateTime os::Random::AsDateTime | ( | ) |
double os::Random::AsDouble | ( | ) |
float os::Random::AsFloat | ( | float | rangeStart = 0.0 , |
float | rangeEnd = FLT_MAX |
||
) |
os::font_properties os::Random::AsFont | ( | bool | bAntiAlias = true , |
bool | bShearing = false , |
||
bool | bRotation = false |
||
) |
int os::Random::AsInt | ( | int | rangeStart = 0 , |
int | rangeEnd = RAND_MAX |
||
) |
os::IPoint os::Random::AsIPoint | ( | os::IPoint | start, |
os::IPoint | end | ||
) |
os::String os::Random::AsString | ( | uint | nType = STRING_ALPHANUMERIC , |
int | nWidth = -1 |
||
) |
|
static |