Definition at line 12 of file LightManager.cs.
◆ LightManager()
Barotrauma.Lights.LightManager.LightManager |
( |
GraphicsDevice |
graphics | ) |
|
◆ AddLight()
void Barotrauma.Lights.LightManager.AddLight |
( |
LightSource |
light | ) |
|
◆ AddRayCastTask()
void Barotrauma.Lights.LightManager.AddRayCastTask |
( |
LightSource |
lightSource, |
|
|
Vector2 |
drawPos, |
|
|
float |
rotation |
|
) |
| |
◆ ClearLights()
void Barotrauma.Lights.LightManager.ClearLights |
( |
| ) |
|
◆ DebugDrawLos()
void Barotrauma.Lights.LightManager.DebugDrawLos |
( |
SpriteBatch |
spriteBatch, |
|
|
Camera |
cam |
|
) |
| |
◆ DebugDrawVertices()
void Barotrauma.Lights.LightManager.DebugDrawVertices |
( |
SpriteBatch |
spriteBatch | ) |
|
◆ OnMapLoaded()
void Barotrauma.Lights.LightManager.OnMapLoaded |
( |
| ) |
|
◆ RemoveLight()
void Barotrauma.Lights.LightManager.RemoveLight |
( |
LightSource |
light | ) |
|
◆ RenderLightMap()
void Barotrauma.Lights.LightManager.RenderLightMap |
( |
GraphicsDevice |
graphics, |
|
|
SpriteBatch |
spriteBatch, |
|
|
Camera |
cam, |
|
|
RenderTarget2D |
backgroundObstructor = null |
|
) |
| |
◆ Update()
void Barotrauma.Lights.LightManager.Update |
( |
float |
deltaTime | ) |
|
◆ UpdateObstructVision()
void Barotrauma.Lights.LightManager.UpdateObstructVision |
( |
GraphicsDevice |
graphics, |
|
|
SpriteBatch |
spriteBatch, |
|
|
Camera |
cam, |
|
|
Vector2 |
lookAtPosition |
|
) |
| |
◆ AmbientLight
Color Barotrauma.Lights.LightManager.AmbientLight |
◆ DebugLos
bool Barotrauma.Lights.LightManager.DebugLos |
◆ LightingEnabled
bool Barotrauma.Lights.LightManager.LightingEnabled = true |
◆ LosAlpha
float Barotrauma.Lights.LightManager.LosAlpha = 1f |
◆ LosEnabled
bool Barotrauma.Lights.LightManager.LosEnabled = true |
◆ LosMode
◆ ObstructVision
bool Barotrauma.Lights.LightManager.ObstructVision |
◆ ActiveLightCount
int Barotrauma.Lights.LightManager.ActiveLightCount |
|
staticget |
◆ HighlightMap
RenderTarget2D Barotrauma.Lights.LightManager.HighlightMap |
|
get |
◆ LightMap
RenderTarget2D Barotrauma.Lights.LightManager.LightMap |
|
get |
◆ Lights
IEnumerable<LightSource> Barotrauma.Lights.LightManager.Lights |
|
get |
◆ LimbLightMap
RenderTarget2D Barotrauma.Lights.LightManager.LimbLightMap |
|
get |
◆ LosEffect
Effect Barotrauma.Lights.LightManager.LosEffect |
|
get |
◆ LosTexture
RenderTarget2D Barotrauma.Lights.LightManager.LosTexture |
|
get |
◆ SolidColorEffect
Effect Barotrauma.Lights.LightManager.SolidColorEffect |
|
get |
◆ ViewTarget
Entity Barotrauma.Lights.LightManager.ViewTarget |
|
staticgetset |