Preparing search index...
The search index is not available
Fantasy 3D API
Fantasy 3D API
core/src
setRandGenerator
Function setRandGenerator
set
Rand
Generator
<
TFunction
>
(
func
)
:
void
Set a custom random number generator, default to Math.random.
Type Parameters
TFunction
extends
(
(
...
any
:
any
[]
)
=>
number
)
Parameters
func
:
TFunction
Returns
void
Export
Settings
Member Visibility
Protected
Theme
OS
Light
Dark
Fantasy 3D API
Loading...
Set a custom random number generator, default to Math.random.