My Project v1
Project
载入中...
搜索中...
未找到
Game.TerrainContentsGenerator21.Random
Game.TerrainContentsGenerator21.Random 的协作图:

Public 成员函数

 Random ()
 
 Random (int seed)
 
void Reset (int seed)
 
int Sign ()
 
bool Bool ()
 
bool Bool (float probability)
 
int Int ()
 
int UniformInt (int min, int max)
 
float UniformFloat (float min, float max)
 
float NormalFloat (float mean, float stddev)
 
Vector2 Vector2 (float length, bool circular=false)
 
Vector2 UniformVector2 (float minLength, float maxLength, bool circular=false)
 
Vector3 Vector3 (float length, bool spherical=false)
 
Vector3 UniformVector3 (float minLength, float maxLength, bool spherical=false)
 

Public 属性

ulong m_seed
 

静态 Public 属性

static int m_counter = (int)Stopwatch.GetTimestamp()
 
const ulong m_multiplier = 25214903917uL
 
const ulong m_addend = 11uL
 
const ulong m_mask = 281474976710655uL
 
static readonly Random GlobalRandom = new(0)
 

构造及析构函数说明

◆ Random() [1/2]

Game.TerrainContentsGenerator21.Random.Random ( )

◆ Random() [2/2]

Game.TerrainContentsGenerator21.Random.Random ( int seed)

成员函数说明

◆ Bool() [1/2]

bool Game.TerrainContentsGenerator21.Random.Bool ( )
函数调用图:

◆ Bool() [2/2]

bool Game.TerrainContentsGenerator21.Random.Bool ( float probability)
函数调用图:

◆ Int()

int Game.TerrainContentsGenerator21.Random.Int ( )
这是这个函数的调用关系图:

◆ NormalFloat()

float Game.TerrainContentsGenerator21.Random.NormalFloat ( float mean,
float stddev )
函数调用图:

◆ Reset()

void Game.TerrainContentsGenerator21.Random.Reset ( int seed)

◆ Sign()

int Game.TerrainContentsGenerator21.Random.Sign ( )
函数调用图:

◆ UniformFloat()

float Game.TerrainContentsGenerator21.Random.UniformFloat ( float min,
float max )
函数调用图:
这是这个函数的调用关系图:

◆ UniformInt()

int Game.TerrainContentsGenerator21.Random.UniformInt ( int min,
int max )
函数调用图:

◆ UniformVector2()

Vector2 Game.TerrainContentsGenerator21.Random.UniformVector2 ( float minLength,
float maxLength,
bool circular = false )
函数调用图:

◆ UniformVector3()

Vector3 Game.TerrainContentsGenerator21.Random.UniformVector3 ( float minLength,
float maxLength,
bool spherical = false )
函数调用图:

◆ Vector2()

Vector2 Game.TerrainContentsGenerator21.Random.Vector2 ( float length,
bool circular = false )
函数调用图:
这是这个函数的调用关系图:

◆ Vector3()

Vector3 Game.TerrainContentsGenerator21.Random.Vector3 ( float length,
bool spherical = false )
函数调用图:

类成员变量说明

◆ GlobalRandom

readonly Random Game.TerrainContentsGenerator21.Random.GlobalRandom = new(0)
static

◆ m_addend

const ulong Game.TerrainContentsGenerator21.Random.m_addend = 11uL
static

◆ m_counter

int Game.TerrainContentsGenerator21.Random.m_counter = (int)Stopwatch.GetTimestamp()
static

◆ m_mask

const ulong Game.TerrainContentsGenerator21.Random.m_mask = 281474976710655uL
static

◆ m_multiplier

const ulong Game.TerrainContentsGenerator21.Random.m_multiplier = 25214903917uL
static

◆ m_seed

ulong Game.TerrainContentsGenerator21.Random.m_seed

该类的文档由以下文件生成: