Skyline Lua API  Version 1.0
Lua Script Reference for Skyline Game Engine.
LUA_API_Raycast.h
Go to the documentation of this file.
1 // | _ ____ __ _
2 // | / \ _ _ _ __ __ _/ ___| ___ / _| |_
3 // | / _ \| | | | '__/ _` \___ \ / _ \| |_| __|
4 // | / ___ \ |_| | | | (_| |___) | (_) | _| |_
5 // | /_/ \_\__,_|_| \__,_|____/ \___/|_| \__|
6 // |
7 // | Aurasoft UK 2008 - 2016 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 - 2016
16 // |
17 
18 // SKYLINE LUA CLASS FOR API DOCUMENTATION
19 
90 class ray
91 {
92 public:
93 
107  int fx,y,z = raycastToCenterScreen();
108 
109 
123  int x,y,z = raycastFromObject(objx,objy,objz, dirx,diry,dirz);
124 
138  int y = getHeightOffGround(objx,objy,objz);
139 
140 
141 
142 
143 
144 
145 
146 };
int z
Definition: LUA_API_Raycast.h:107
Definition: LUA_API_Raycast.h:90
int y
get height off ground.
Definition: LUA_API_Raycast.h:107
int x
raycast from object.
Definition: LUA_API_Raycast.h:123
int fx
raycast to center of screen.
Definition: LUA_API_Raycast.h:107