Random

Random functions

1
native func RandF() -> Float
2
native func RandRangeF(min: Float, max: Float) -> Float
3
native func RandNoiseF(seed: Int32, max: Float, opt min: Float) -> Float
4
native func RandRange(min: Int32, max: Int32) -> Int32
5
native func RandDifferent(lastValue: Int32, range: Int32) -> Int32
6
native func CalcSeed(object: ref<IScriptable>) -> Int32
Copied!
Copy link