Class SmoFog.FogBand
One fog band: end distance, start scalar and color.
public class SmoFog.FogBand : IDisposable
- Inheritance
-
SmoFog.FogBand
- Implements
- Inherited Members
Constructors
FogBand()
public FogBand()
FogBand(float, float, CImVector)
public FogBand(float end, float startScalar, CImVector color)
Parameters
FogBand(FogBand)
Copy-construct: a deep copy of other (the C++ copy constructor).
public FogBand(SmoFog.FogBand other)
Parameters
Properties
Color
Fog color.
public CImVector Color { get; set; }
Property Value
End
Distance at which visibility ceases.
public float End { get; set; }
Property Value
StartScalar
Start = end * start_scalar (0..1).
public float StartScalar { 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()