Global Variables
The global namespace has a bunch of useful variables.
I don’t love these names but they’re not going to go anywhere, so you’re free to use them. In all likelihood in the future we’ll get together and create a bunch of nicer #define’s for them, so g_flTime will be accessible viaTime.Now, or just time etc.
Time
Type | Name | Description |
|---|---|---|
|
| Current time |
Camera
Type | Name | Description |
|---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| Camera position in world space |
|
| Camera direction in world space |
|
| |
|
| |
|
| |
|
| |
|
|