Show / Hide Table of Contents

Class MyPlanetEnvironmentMapping

Inheritance
System.Object
MyPlanetEnvironmentMapping
Namespace: Sandbox.Definitions
Assembly: Sandbox.Game.dll
Syntax
public class MyPlanetEnvironmentMapping : Object

Constructors

MyPlanetEnvironmentMapping(PlanetEnvironmentItemMapping)

Declaration
public MyPlanetEnvironmentMapping(PlanetEnvironmentItemMapping map)
Parameters
Type Name Description
PlanetEnvironmentItemMapping map

Fields

Items

Declaration
public MyMaterialEnvironmentItem[] Items
Field Value
Type Description
MyMaterialEnvironmentItem[]

Rule

Declaration
public MyPlanetSurfaceRule Rule
Field Value
Type Description
MyPlanetSurfaceRule

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
☀
☾
In This Article
  • Constructors
    • MyPlanetEnvironmentMapping(PlanetEnvironmentItemMapping)
  • Fields
    • Items
    • Rule
    • TotalFrequency
  • Properties
    • Valid
  • Methods
    • ComputeDistribution()
    • GetItemRated(Single)
Back to top
Generated by DocFX
☀
☾