Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
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)

详细描述

在文件 TerrainContentsGenerator21.cs6 行定义.

构造及析构函数说明

◆ Random() [1/2]

Game.TerrainContentsGenerator21.Random.Random ( )

在文件 TerrainContentsGenerator21.cs19 行定义.

◆ Random() [2/2]

Game.TerrainContentsGenerator21.Random.Random ( int seed)

在文件 TerrainContentsGenerator21.cs21 行定义.

函数调用图:

成员函数说明

◆ Bool() [1/2]

bool Game.TerrainContentsGenerator21.Random.Bool ( )

在文件 TerrainContentsGenerator21.cs31 行定义.

这是这个函数的调用关系图:

◆ Bool() [2/2]

bool Game.TerrainContentsGenerator21.Random.Bool ( float probability)

在文件 TerrainContentsGenerator21.cs33 行定义.

◆ Int()

int Game.TerrainContentsGenerator21.Random.Int ( )

在文件 TerrainContentsGenerator21.cs35 行定义.

这是这个函数的调用关系图:

◆ NormalFloat()

float Game.TerrainContentsGenerator21.Random.NormalFloat ( float mean,
float stddev )

在文件 TerrainContentsGenerator21.cs47 行定义.

函数调用图:

◆ Reset()

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

在文件 TerrainContentsGenerator21.cs25 行定义.

这是这个函数的调用关系图:

◆ Sign()

int Game.TerrainContentsGenerator21.Random.Sign ( )

在文件 TerrainContentsGenerator21.cs29 行定义.

◆ UniformFloat()

float Game.TerrainContentsGenerator21.Random.UniformFloat ( float min,
float max )

在文件 TerrainContentsGenerator21.cs42 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ UniformInt()

int Game.TerrainContentsGenerator21.Random.UniformInt ( int min,
int max )

在文件 TerrainContentsGenerator21.cs40 行定义.

这是这个函数的调用关系图:

◆ UniformVector2()

Vector2 Game.TerrainContentsGenerator21.Random.UniformVector2 ( float minLength,
float maxLength,
bool circular = false )

在文件 TerrainContentsGenerator21.cs72 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ UniformVector3()

Vector3 Game.TerrainContentsGenerator21.Random.UniformVector3 ( float minLength,
float maxLength,
bool spherical = false )

在文件 TerrainContentsGenerator21.cs94 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Vector2()

Vector2 Game.TerrainContentsGenerator21.Random.Vector2 ( float length,
bool circular = false )

在文件 TerrainContentsGenerator21.cs61 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Vector3()

Vector3 Game.TerrainContentsGenerator21.Random.Vector3 ( float length,
bool spherical = false )

在文件 TerrainContentsGenerator21.cs83 行定义.

函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ GlobalRandom

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

在文件 TerrainContentsGenerator21.cs17 行定义.

◆ m_addend

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

在文件 TerrainContentsGenerator21.cs13 行定义.

◆ m_counter

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

在文件 TerrainContentsGenerator21.cs7 行定义.

◆ m_mask

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

在文件 TerrainContentsGenerator21.cs15 行定义.

◆ m_multiplier

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

在文件 TerrainContentsGenerator21.cs11 行定义.

◆ m_seed

ulong Game.TerrainContentsGenerator21.Random.m_seed

在文件 TerrainContentsGenerator21.cs9 行定义.


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