My Project v1
Project
载入中...
搜索中...
未找到
Game.Random

Public 成员函数

 Random ()
 
 Random (int seed)
 
void Seed ()
 
void Seed (int seed)
 
int Sign ()
 
bool Bool ()
 
bool Bool (float probability)
 
uint UInt ()
 
int Int ()
 
int Int (int bound)
 
int Int (int min, int max)
 
float Float ()
 
float Float (float min, float max)
 
float NormalFloat (float mean, float stddev)
 
Vector2 Vector2 ()
 
Vector2 Vector2 (float length)
 
Vector2 Vector2 (float minLength, float maxLength)
 
Vector3 Vector3 ()
 
Vector3 Vector3 (float length)
 
Vector3 Vector3 (float minLength, float maxLength)
 

静态 Public 成员函数

static uint RotateLeft (uint x, int k)
 

Public 属性

uint m_s0
 
uint m_s1
 

静态 Public 属性

static int m_counter = (int)(Stopwatch.GetTimestamp() + DateTime.Now.Ticks)
 

属性

ulong State [get, set]
 

构造及析构函数说明

◆ Random() [1/2]

Game.Random.Random ( )
函数调用图:

◆ Random() [2/2]

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

成员函数说明

◆ Bool() [1/2]

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

◆ Bool() [2/2]

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

◆ Float() [1/2]

float Game.Random.Float ( )
函数调用图:

◆ Float() [2/2]

float Game.Random.Float ( float min,
float max )
函数调用图:

◆ Int() [1/3]

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

◆ Int() [2/3]

int Game.Random.Int ( int bound)
函数调用图:

◆ Int() [3/3]

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

◆ NormalFloat()

float Game.Random.NormalFloat ( float mean,
float stddev )
函数调用图:
这是这个函数的调用关系图:

◆ RotateLeft()

static uint Game.Random.RotateLeft ( uint x,
int k )
static
这是这个函数的调用关系图:

◆ Seed() [1/2]

void Game.Random.Seed ( )
函数调用图:
这是这个函数的调用关系图:

◆ Seed() [2/2]

void Game.Random.Seed ( int seed)

◆ Sign()

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

◆ UInt()

uint Game.Random.UInt ( )
函数调用图:
这是这个函数的调用关系图:

◆ Vector2() [1/3]

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

◆ Vector2() [2/3]

Vector2 Game.Random.Vector2 ( float length)
函数调用图:

◆ Vector2() [3/3]

Vector2 Game.Random.Vector2 ( float minLength,
float maxLength )
函数调用图:

◆ Vector3() [1/3]

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

◆ Vector3() [2/3]

Vector3 Game.Random.Vector3 ( float length)
函数调用图:

◆ Vector3() [3/3]

Vector3 Game.Random.Vector3 ( float minLength,
float maxLength )
函数调用图:

类成员变量说明

◆ m_counter

int Game.Random.m_counter = (int)(Stopwatch.GetTimestamp() + DateTime.Now.Ticks)
static

◆ m_s0

uint Game.Random.m_s0

◆ m_s1

uint Game.Random.m_s1

属性说明

◆ State

ulong Game.Random.State
getset

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