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

静态 Public 成员函数

static int GetTreeTrunkValue (TreeType treeType)
 
static int GetTreeLeavesValue (TreeType treeType)
 
static ReadOnlyList< TerrainBrushGetTreeBrushes (TreeType treeType)
 
static int GenerateRandomPlantValue (Random random, int groundValue, int temperature, int humidity, int y)
 
static ? TreeType GenerateRandomTreeType (Random random, int temperature, int humidity, int y, float densityMultiplier=1f)
 
static float CalculateTreeDensity (TreeType treeType, int temperature, int humidity, int y)
 
static float CalculateTreeProbability (TreeType treeType, int temperature, int humidity, int y)
 
static float RangeProbability (float v, float a, float b, float c, float d)
 
static TerrainBrush CreateTreeBrush (Random random, int woodIndex, int leavesIndex, int height, int branchesCount, int leavesRounds, Func< int, int, float > leavesProbability, Func< int, float > branchesLength)
 
static TerrainBrush CreateMimosaBrush (Random random, float size)
 

静态 Public 属性

static List< TerrainBrush >[] m_treeBrushesByType
 
static int[] m_treeTrunksByType
 
static int[] m_treeLeavesByType
 

静态 Private 成员函数

static PlantsManager ()
 

构造及析构函数说明

◆ PlantsManager()

static Game.PlantsManager.PlantsManager ( )
staticprivate
函数调用图:

成员函数说明

◆ CalculateTreeDensity()

static float Game.PlantsManager.CalculateTreeDensity ( TreeType treeType,
int temperature,
int humidity,
int y )
static
函数调用图:
这是这个函数的调用关系图:

◆ CalculateTreeProbability()

static float Game.PlantsManager.CalculateTreeProbability ( TreeType treeType,
int temperature,
int humidity,
int y )
static
函数调用图:
这是这个函数的调用关系图:

◆ CreateMimosaBrush()

static TerrainBrush Game.PlantsManager.CreateMimosaBrush ( Random random,
float size )
static
函数调用图:
这是这个函数的调用关系图:

◆ CreateTreeBrush()

static TerrainBrush Game.PlantsManager.CreateTreeBrush ( Random random,
int woodIndex,
int leavesIndex,
int height,
int branchesCount,
int leavesRounds,
Func< int, int, float > leavesProbability,
Func< int, float > branchesLength )
static
函数调用图:
这是这个函数的调用关系图:

◆ GenerateRandomPlantValue()

static int Game.PlantsManager.GenerateRandomPlantValue ( Random random,
int groundValue,
int temperature,
int humidity,
int y )
static
函数调用图:
这是这个函数的调用关系图:

◆ GenerateRandomTreeType()

static ? TreeType Game.PlantsManager.GenerateRandomTreeType ( Random random,
int temperature,
int humidity,
int y,
float densityMultiplier = 1f )
static
函数调用图:
这是这个函数的调用关系图:

◆ GetTreeBrushes()

static ReadOnlyList< TerrainBrush > Game.PlantsManager.GetTreeBrushes ( TreeType treeType)
static
这是这个函数的调用关系图:

◆ GetTreeLeavesValue()

static int Game.PlantsManager.GetTreeLeavesValue ( TreeType treeType)
static
这是这个函数的调用关系图:

◆ GetTreeTrunkValue()

static int Game.PlantsManager.GetTreeTrunkValue ( TreeType treeType)
static
这是这个函数的调用关系图:

◆ RangeProbability()

static float Game.PlantsManager.RangeProbability ( float v,
float a,
float b,
float c,
float d )
static
这是这个函数的调用关系图:

类成员变量说明

◆ m_treeBrushesByType

List<TerrainBrush> [] Game.PlantsManager.m_treeBrushesByType
static

◆ m_treeLeavesByType

int [] Game.PlantsManager.m_treeLeavesByType
static

◆ m_treeTrunksByType

int [] Game.PlantsManager.m_treeTrunksByType
static

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