Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
essentials.Environment.Fog.ColorFog Class Reference

Simple fog to be used within plugins More...

Inheritance diagram for essentials.Environment.Fog.ColorFog:
pluginbase.Objects.World.Environment.Fog.FogBase pluginbase.Objects.World.Environment.IFog pluginbase.Objects.World.Environment.IEnvironmentSimulatable

Public Member Functions

 ColorFog (Rgba color, float density=0.02f)
 Initializes a new instance of the essentials.Environment.Fog.ColorFog class. More...
 
- Public Member Functions inherited from pluginbase.Objects.World.Environment.Fog.FogBase
virtual void Simulate (double time, double x, double y, double z)
 Simulate the environment with the time, and an x/y/z More...
 

Properties

override Rgba Color [get]
 Gets the color of the fog More...
 
override float Density [get]
 Gets the fog density More...
 
- Properties inherited from pluginbase.Objects.World.Environment.Fog.FogBase
virtual FogType RenderMode [get]
 
virtual float Density [get]
 
virtual Rgba Color [get]
 
- Properties inherited from pluginbase.Objects.World.Environment.IFog
FogType RenderMode [get]
 Gets the fog render mode More...
 
float Density [get]
 Gets the fog density More...
 
Rgba Color [get]
 Gets the color of the fog More...
 

Detailed Description

Simple fog to be used within plugins

Constructor & Destructor Documentation

essentials.Environment.Fog.ColorFog.ColorFog ( Rgba  color,
float  density = 0.02f 
)

Initializes a new instance of the essentials.Environment.Fog.ColorFog class.

Parameters
colorColor.
densityDensity.
21  {
22  _color = color;
23  _density = density;
24  }

Property Documentation

override Rgba essentials.Environment.Fog.ColorFog.Color
get

Gets the color of the fog

The color.

override float essentials.Environment.Fog.ColorFog.Density
get

Gets the fog density

The density.


The documentation for this class was generated from the following file: