Class AmbientModifier
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class AmbientModifier
- Inheritance
-
AmbientModifier
- Inherited Members
-
- Extension Methods
-
Fields
AmbientColor
public WeightedFloatArray AmbientColor
Field Value
- WeightedFloatArray
CloudBrightness
public WeightedFloat CloudBrightness
Field Value
- WeightedFloat
CloudDensity
public WeightedFloat CloudDensity
Field Value
- WeightedFloat
FlatFogDensity
public WeightedFloat FlatFogDensity
Field Value
- WeightedFloat
FlatFogYPos
public WeightedFloat FlatFogYPos
Field Value
- WeightedFloat
FogBrightness
public WeightedFloat FogBrightness
Field Value
- WeightedFloat
FogColor
public WeightedFloatArray FogColor
Field Value
- WeightedFloatArray
FogDensity
public WeightedFloat FogDensity
Field Value
- WeightedFloat
FogMin
public WeightedFloat FogMin
Field Value
- WeightedFloat
LerpSpeed
public WeightedFloat LerpSpeed
Field Value
- WeightedFloat
SceneBrightness
public WeightedFloat SceneBrightness
Field Value
- WeightedFloat
Properties
DefaultAmbient
public static AmbientModifier DefaultAmbient { get; }
Property Value
- AmbientModifier
Methods
Clone()
public AmbientModifier Clone()
Returns
- AmbientModifier
EnsurePopulated()
public AmbientModifier EnsurePopulated()
Returns
- AmbientModifier
FromBytes(BinaryReader)
public void FromBytes(BinaryReader reader)
Parameters
reader
BinaryReader
SetLerped(AmbientModifier, AmbientModifier, float)
public void SetLerped(AmbientModifier left, AmbientModifier right, float w)
Parameters
left
AmbientModifier
right
AmbientModifier
w
float
ToBytes(BinaryWriter)
public void ToBytes(BinaryWriter writer)
Parameters
writer
BinaryWriter