3rd Eye Scene C#
3rd Eye Scene C# documentation
|
Manages the scene root object. More...
Public Member Functions | |
Scene () | |
Constructor. | |
Properties | |
GameObject | Root [get, set] |
Root object always in the Unity coordinate frame. | |
GameObject | ServerRoot [get, set] |
Root object in the server's CoordinateFrame. | |
CoordinateFrame | Frame [get, set] |
The server's CoordinateFrame. | |
int | RightAxis [get] |
Query the server's 'right' axis index. | |
int | UpAxis [get] |
Query the server's 'up' axis index. | |
int | ForwardAxis [get] |
Query the server's 'forward' axis index. |
Manages the scene root object.
The primary purpose of this object is to manage conversions from the server's CoordinateFrame to the Unity frame. The scene has two roots; Root - an object which is always in the Unity coordinate frame - and ServerRoot - an object maintained in the server CoordinateFrame.
int Tes::Main::Scene::ForwardAxis [get] |
Query the server's 'forward' axis index.
This is the middle letter in the current CoordinateFrame.
0: X, 1: Y, 2: Z
int Tes::Main::Scene::RightAxis [get] |
Query the server's 'right' axis index.
This is the first letter in the current CoordinateFrame.
0: X, 1: Y, 2: Z
int Tes::Main::Scene::UpAxis [get] |
Query the server's 'up' axis index.
This is the last letter in the current CoordinateFrame.
0: X, 1: Y, 2: Z