Class MyPlanetEnvironmentMapping
Inheritance
System.Object
MyPlanetEnvironmentMapping
Assembly: Sandbox.Game.dll
Syntax
public class MyPlanetEnvironmentMapping : Object
Constructors
MyPlanetEnvironmentMapping(PlanetEnvironmentItemMapping)
Declaration
public MyPlanetEnvironmentMapping(PlanetEnvironmentItemMapping map)
Parameters
Fields
Items
Declaration
public MyMaterialEnvironmentItem[] Items
Field Value
Rule
Declaration
public MyPlanetSurfaceRule Rule
Field Value
TotalFrequency
Declaration
public float TotalFrequency
Field Value
Type |
Description |
System.Single |
|
Properties
Valid
Declaration
public bool Valid { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
ComputeDistribution()
Declaration
public void ComputeDistribution()
GetItemRated(Single)
Declaration
public int GetItemRated(float rate)
Parameters
Type |
Name |
Description |
System.Single |
rate |
|
Returns
Type |
Description |
System.Int32 |
|