Return the altitude angle of the main directional light.
Return the azimuth angle of the main directional light.
Return the color of the main directional light
Return the intensity multiplier of the main directional light.
Return the specular intensity for the main directional light. Only a value of 1 is physically correct, lower values can be used to reduce specular highlights. Minimum 0, maximum 1. Default: 1
Set the altitude angle of the main directional light. Minimum 10, maximum 90. Default: 90
Set the azimuth angle of the main directional light. Minimum -180, maximum 180. Default: 0
Set the color of the main directional light. Default: White
Set the intensity multiplier of the main directional light. Minimum 0.2, maximum 5. Default: 1.0
Set the specular intensity for the main directional light. Only a value of 1 is physically correct, lower values can be used to reduce specular highlights. Minimum 0, maximum 1. Default: 1
Contains methods to modify and check the lighting settings. Accessed through GameWorld.lighting