Class VolumetricFog
One volumetric fog (VFOG, 8.0+).
public class VolumetricFog : IDisposable
- Inheritance
-
VolumetricFog
- Implements
- Inherited Members
Constructors
VolumetricFog()
public VolumetricFog()
VolumetricFog(C3Vector, float[], float, C3Vector, float, C4Vector, float[], int[], uint, uint, uint, uint)
public VolumetricFog(C3Vector color, float[] intensity, float unk18, C3Vector position, float unk28, C4Vector rotation, float[] radius, int[] animationPeriods, uint flags, uint modelFdid, uint fogLevel, uint id)
Parameters
colorC3Vectorintensityfloat[]unk18floatpositionC3Vectorunk28floatrotationC4Vectorradiusfloat[]animationPeriodsint[]flagsuintmodelFdiduintfogLeveluintiduint
VolumetricFog(VolumetricFog)
Copy-construct: a deep copy of other (the C++ copy constructor).
public VolumetricFog(VolumetricFog other)
Parameters
otherVolumetricFog
Properties
AnimationPeriods
Animation periods, used to derive the animation coefficients.
public FixedArray<int> AnimationPeriods { get; set; }
Property Value
Color
Fog color as r, g, b floats; 1.0 equals 255.
public C3Vector Color { get; set; }
Property Value
Flags
Flags.
public uint Flags { get; set; }
Property Value
FogLevel
Fog level, 0 to 2 (inclusive against the client's volumeFogLevel setting).
public uint FogLevel { get; set; }
Property Value
Id
Globally unique fog id.
public uint Id { get; set; }
Property Value
Intensity
Radius-related intensities.
public FixedArray<float> Intensity { get; set; }
Property Value
ModelFdid
FileDataID of the volume model (one M2Batch only); 0 falls back to spells/errorcube.m2.
public uint ModelFdid { get; set; }
Property Value
Position
Position, in server coordinates.
public C3Vector Position { get; set; }
Property Value
Radius
Fog start radii.
public FixedArray<float> Radius { get; set; }
Property Value
Rotation
Rotation quaternion.
public C4Vector Rotation { get; set; }
Property Value
Unk18
Unknown; 0 to 5000 in shipped files.
public float Unk18 { get; set; }
Property Value
Unk28
Unknown; 0 in files, set to 1.0 on loading.
public float Unk28 { 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()