Class SmoFog
One MFOG entry: a fog volume with regular and under-water settings.
public class SmoFog : IDisposable
- Inheritance
-
SmoFog
- Implements
- Inherited Members
Constructors
SmoFog()
public SmoFog()
SmoFog(uint, C3Vector, float, float, FogBand, FogBand)
public SmoFog(uint flags, C3Vector position, float smallerRadius, float largerRadius, SmoFog.FogBand fog, SmoFog.FogBand underWaterFog)
Parameters
flagsuintpositionC3VectorsmallerRadiusfloatlargerRadiusfloatfogSmoFog.FogBandunderWaterFogSmoFog.FogBand
SmoFog(SmoFog)
Copy-construct: a deep copy of other (the C++ copy constructor).
public SmoFog(SmoFog other)
Parameters
otherSmoFog
Properties
Flags
0x1: infinite radius (interior/exterior blend fog).
public uint Flags { get; set; }
Property Value
Fog
The regular fog band.
public SmoFog.FogBand Fog { get; set; }
Property Value
LargerRadius
Outer radius (fog starts).
public float LargerRadius { get; set; }
Property Value
Position
Fog volume center.
public C3Vector Position { get; set; }
Property Value
SmallerRadius
Inner radius (full fog).
public float SmallerRadius { get; set; }
Property Value
UnderWaterFog
The under-water fog band.
public SmoFog.FogBand UnderWaterFog { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()