◆ SimpleAtmosphere()
essentials.Environment.Atmosphere.SimpleAtmosphere.SimpleAtmosphere |
( |
| ) |
|
◆ GetWind()
override OpenTK.Vector3 essentials.Environment.Atmosphere.SimpleAtmosphere.GetWind |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
virtual |
◆ Simulate()
override void essentials.Environment.Atmosphere.SimpleAtmosphere.Simulate |
( |
double |
time, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
virtual |
Simulate the environment with the time, and an x/y/z
- Parameters
-
Reimplemented from pluginbase.Objects.World.Environment.Atmosphere.AtmosphereBase.
21 _windDirection =
new Vector3(dir.X, dir.Y, (
float)Math.Sin(time));
22 _windPower = 0.5f + (float)Math.Sin(time / 100.0);
static Rotation2d FromDegrees(double x, double z)
Definition: Rotation2d.cs:22
Rotation XZ; In radians
Definition: Rotation2d.cs:10
Vector3d Vector
Definition: Rotation2d.cs:93
The documentation for this class was generated from the following file: