Extended from Environment LightingEnvironment¶
This class is one of the most important components of a scene, is used to manage everything related with the light
Properties¶
Color3 AmbientColor¶
This is the color of every pixel of the ambient, we can say is the darkness color
number AmbientTransparency¶
This is the transparency of the ambient, we can say is the darkness transparency
number UpdateFrequency¶
This is the seconds between every update of the pixels in the screen
number LightIntensity¶
This is the intensity for all the lights in the scene
Enum LightStyle¶
Determines the light rendering mode, there are two modes Enum.ResamplerMode.Pixelated and Enum.ResamplerMode.Default, the default value is Enum.ResamplerMode.Pixelated
number ChunkColumns¶
Determines the number of columns for the chunks, the number of rows is calculated automatically, the default value is 1
Vector2 ChunkResolution¶
Determines the resolution for every chunk of the screen
Methods¶
void DrawPixels()¶
Draws the pixels for the scene with the specified resolution
void UpdateScreen()¶
Updates the position, the transparency and the color of the ambient
Events¶
There is no events for this class