Empeld
Empeld plugin documentation.
|
Server-side interface that provides information about the lighting situation of a given position More...
Public Member Functions | |
Rgba | GetRawEnvironmentLight (Vector3d pos) |
Gets the environment lighting, ignoring shadows or location More... | |
Rgba | GetEnvironmentLight (Vector3d pos) |
Gets the current environment light (Sum of light sources), estimating shadows More... | |
Rgba | GetArtificialLight (Vector3d pos) |
Gets the amount of artificial light affecting a point More... | |
Rgba | GetTotalLight (Vector3d pos) |
Gets total light on a point (Environment + Artificial) More... | |
Vector3 | GetWindForce (Vector3d pos) |
Gets the force of the wind More... | |
Server-side interface that provides information about the lighting situation of a given position
Attribute: Injectable
Rgba pluginbase.Dependencies.IEnvironmentState.GetArtificialLight | ( | Vector3d | pos | ) |
Gets the amount of artificial light affecting a point
pos | Position. |
Rgba pluginbase.Dependencies.IEnvironmentState.GetEnvironmentLight | ( | Vector3d | pos | ) |
Gets the current environment light (Sum of light sources), estimating shadows
Rgba pluginbase.Dependencies.IEnvironmentState.GetRawEnvironmentLight | ( | Vector3d | pos | ) |
Gets the environment lighting, ignoring shadows or location
Rgba pluginbase.Dependencies.IEnvironmentState.GetTotalLight | ( | Vector3d | pos | ) |
Gets total light on a point (Environment + Artificial)
pos | Position. |
Vector3 pluginbase.Dependencies.IEnvironmentState.GetWindForce | ( | Vector3d | pos | ) |
Gets the force of the wind
pos | Position. |