Skyline Lua API  Version 1.0
Lua Script Reference for Skyline Game Engine.
LUA_API_Environment.h
Go to the documentation of this file.
1 // | _ ____ __ _
2 // | / \ _ _ _ __ __ _/ ___| ___ / _| |_
3 // | / _ \| | | | '__/ _` \___ \ / _ \| |_| __|
4 // | / ___ \ |_| | | | (_| |___) | (_) | _| |_
5 // | /_/ \_\__,_|_| \__,_|____/ \___/|_| \__|
6 // |
7 // | Aurasoft UK 2008 - 2018 http://www.aurasoft.co.uk
8 // |
9 // | Skyline Game Engine Lua API Documentation
10 // |
11 // | This file belongs to Aurasoft UK for the Skyline Game Engine of all versions.
12 // | This file is not for use in any other software that is not owned by Aurasoft UK and cannot be used by any other
13 // | person outside of the Skyline Game Engine development team.
14 // |
15 // | © Copyright - Aurasoft UK & Skyline Game Engine 2008 - 2018
16 // |
17 
18 // SKYLINE LUA CLASS FOR API DOCUMENTATION
19 
71 class env
72 {
73 public:
74 
91  void setTOD_Time( float time );
92 
110  float getTOD_Time();
111 
127  void setTOD_TimeMultiplier( float speedMulti );
128 
144  float getTOD_TimeMultiplier();
145 
163  void setTOD_Enabled( int enabled );
164 
180  int getTOD_Enabled();
181 
182 
183 
184 };
185 
186 
203 //void loadTODFile(string filename);
204 
222 //void setTOD_VolCloudsEnabled(int enabled);
223 
239 //int getTOD_VolCloudsEnabled();
240 
257 //void setTOD_LightEnabled(int enabled);
258 
274 //int getTOD_LightEnabled();
275 
292 //void setTOD_DiffuseStrength(float strength);
293 
309 //float getTOD_DiffuseStrength();
310 
327 //void setTOD_SpecularStrength(float strength);
328 
344 //float getTOD_SpecularStrength();
345 
void setTOD_Enabled(int enabled)
Set whether the TOD Sky Movement is enabled or not.
void setTOD_TimeMultiplier(float speedMulti)
Set the time speed multiplier.
Definition: LUA_API_Time.h:27
Definition: LUA_API_Environment.h:71
void setTOD_Time(float time)
Set the time of day in a 24 hr clock.
float getTOD_TimeMultiplier()
Get the time of day speed multiplier.
int getTOD_Enabled()
Get whether the TOD Sky Movement is enabled.
float getTOD_Time()
Get the time of day in a 24 hr clock mode.