#include "Unity.h"
Definition at line 15 of file Unity.h.
int Unity::getPlayerAltitude |
( |
| ) |
|
Get y value from Player in the virtual world
Definition at line 92 of file Unity.cpp.
Do necessary stuff to initialize Unity model
Definition at line 74 of file Unity.cpp.
void Unity::initBuild |
( |
| ) |
|
Initialize build
Definition at line 45 of file Unity.cpp.
Tells Unity that everything is ready for render next frames
Definition at line 195 of file Unity.cpp.
void Unity::setInfo |
( |
const char * |
info, |
|
|
int |
chars_written |
|
) |
| |
Set a text information of the screen
Definition at line 178 of file Unity.cpp.
void Unity::setPlayerPosition |
( |
double |
x, |
|
|
double |
z |
|
) |
| |
Set ONLY x and z positions, because y value is NOT GONNA BE SET BY US
Definition at line 144 of file Unity.cpp.
void Unity::setPlayerRotation |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
Set x, y and z values for player rotation
Definition at line 161 of file Unity.cpp.
std::ifstream Unity::altitudeFile |
Files in which we're gonna use to exchange some information with Unity app
Definition at line 28 of file Unity.h.
In order to have the virtual build working, we need to create a whole new process for it, and this is its pid
Definition at line 23 of file Unity.h.
std::ofstream Unity::infoFile |
std::ofstream Unity::positionFile |
std::ofstream Unity::rotationFile |
The documentation for this class was generated from the following files: