W3cubDocs

/Haxe C++

NativeRandom

package cpp

@:buildXml("<include name=\"${HXCPP}/src/hx/libs/std/Build.xml\"/>") Available on cpp

Static methods

@:extern @:native("_hx_std_random_float") static random_float (handle:Dynamic):Float

@:extern @:native("_hx_std_random_int") static random_int (handle:Dynamic, max:Int):Int

@:extern @:native("_hx_std_random_new") static random_new ():Dynamic

@:extern @:native("_hx_std_random_set_seed") static random_set_seed (handle:Dynamic, v:Int):Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/NativeRandom.html