Struct ColorMapData
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public struct ColorMapData
- Inherited Members
-
- Extension Methods
-
Constructors
ColorMapData(byte, byte, byte, byte, bool)
public ColorMapData(byte seasonMapIndex, byte climateMapIndex, byte temperature, byte rainFall, bool frostable)
Parameters
seasonMapIndex
byte
climateMapIndex
byte
temperature
byte
rainFall
byte
frostable
bool
ColorMapData(int)
public ColorMapData(int value)
Parameters
value
int
ColorMapData(int, int, int, int, bool)
public ColorMapData(int seasonMapIndex, int climateMapIndex, int temperature, int rainFall, bool frostable)
Parameters
seasonMapIndex
int
climateMapIndex
int
temperature
int
rainFall
int
frostable
bool
Fields
Value
Field Value
- int
Properties
ClimateMapIndex
public byte ClimateMapIndex { get; }
Property Value
- byte
FrostableBit
public byte FrostableBit { get; }
Property Value
- byte
Rainfall
public byte Rainfall { get; }
Property Value
- byte
SeasonMapIndex
public byte SeasonMapIndex { get; }
Property Value
- byte
Temperature
public byte Temperature { get; }
Property Value
- byte
Methods
FromValues(byte, byte, byte, byte, bool)
public static int FromValues(byte seasonMapIndex, byte climateMapIndex, byte temperature, byte rainFall, bool frostable)
Parameters
seasonMapIndex
byte
climateMapIndex
byte
temperature
byte
rainFall
byte
frostable
bool
Returns
- int
FromValues(byte, byte, byte, byte, bool, int)
public static int FromValues(byte seasonMapIndex, byte climateMapIndex, byte temperature, byte rainFall, bool frostable, int extraColorBits)
Parameters
seasonMapIndex
byte
climateMapIndex
byte
temperature
byte
rainFall
byte
frostable
bool
extraColorBits
int
Returns
- int