|
| static int | GetTreeTrunkValue (TreeType treeType) |
| static int | GetTreeLeavesValue (TreeType treeType) |
| static ReadOnlyList< TerrainBrush > | GetTreeBrushes (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) |
◆ PlantsManager()
| Game.PlantsManager.PlantsManager |
( |
| ) |
|
|
staticprivate |
◆ CalculateTreeDensity()
| float Game.PlantsManager.CalculateTreeDensity |
( |
TreeType | treeType, |
|
|
int | temperature, |
|
|
int | humidity, |
|
|
int | y ) |
|
static |
◆ CalculateTreeProbability()
| float Game.PlantsManager.CalculateTreeProbability |
( |
TreeType | treeType, |
|
|
int | temperature, |
|
|
int | humidity, |
|
|
int | y ) |
|
static |
◆ CreateMimosaBrush()
◆ CreateTreeBrush()
| 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()
| int Game.PlantsManager.GenerateRandomPlantValue |
( |
Random | random, |
|
|
int | groundValue, |
|
|
int | temperature, |
|
|
int | humidity, |
|
|
int | y ) |
|
static |
◆ GenerateRandomTreeType()
| ? TreeType Game.PlantsManager.GenerateRandomTreeType |
( |
Random | random, |
|
|
int | temperature, |
|
|
int | humidity, |
|
|
int | y, |
|
|
float | densityMultiplier = 1f ) |
|
static |
◆ GetTreeBrushes()
◆ GetTreeLeavesValue()
| int Game.PlantsManager.GetTreeLeavesValue |
( |
TreeType | treeType | ) |
|
|
static |
◆ GetTreeTrunkValue()
| int Game.PlantsManager.GetTreeTrunkValue |
( |
TreeType | treeType | ) |
|
|
static |
◆ RangeProbability()
| 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 |
该类的文档由以下文件生成:
- E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Managers/PlantsManager.cs