Space Engineers
|
Public Member Functions | |
MyPlanetEnvironmentMapping (PlanetEnvironmentItemMapping map) | |
void | ComputeDistribution () |
int | GetItemRated (float rate) |
Public Attributes | |
MyMaterialEnvironmentItem[] | Items |
MyPlanetSurfaceRule | Rule |
float | TotalFrequency |
Properties | |
bool | Valid [get] |
Definition at line 51 of file MyPlanetGeneratorDefinition.cs.
|
inline |
Definition at line 65 of file MyPlanetGeneratorDefinition.cs.
|
inline |
Definition at line 120 of file MyPlanetGeneratorDefinition.cs.
|
inline |
Given a value between 0 and 1 this will return the id of a vegetation item in which's range the value falls.
If the value of rate is uniformly distributed then the definitions will be distributed according to their defined densities.
Definition at line 153 of file MyPlanetGeneratorDefinition.cs.
MyMaterialEnvironmentItem [] Sandbox.Definitions.MyPlanetEnvironmentMapping.Items |
Definition at line 54 of file MyPlanetGeneratorDefinition.cs.
MyPlanetSurfaceRule Sandbox.Definitions.MyPlanetEnvironmentMapping.Rule |
Definition at line 57 of file MyPlanetGeneratorDefinition.cs.
float Sandbox.Definitions.MyPlanetEnvironmentMapping.TotalFrequency |
Definition at line 63 of file MyPlanetGeneratorDefinition.cs.
|
get |
Weather this mapping is valid.
Definition at line 162 of file MyPlanetGeneratorDefinition.cs.