Wraps a nkGraphics::Camera and offers functions for use in scripting. More...
Static Public Member Functions | |
static void | updateEnvironment (nkScripts::Environment *env) |
static nkScripts::OutputValue | getNear (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getFar (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getPositionAbsolute (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getFrustum (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getFov (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getOrthographicHeight (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getDirectionAtPixelView (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getDirectionAtPixelWorld (const nkScripts::DataStack &stack) |
Wraps a nkGraphics::Camera and offers functions for use in scripting.
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
env | The environment to set up. |
|
static |
Wrapper function for nkGraphics::Camera::getNear().
stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::Camera::getFar().
stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::Camera::getPositionAbsolute().
stack | The data from which the value will be retrieved. |
|
static |
Wrapper function for nkGraphics::Camera::getFrustum().
stack | The data from which the value will be retrieved. |
|
static |
Wrapper function for nkGraphics::Camera::getFov().
stack | The data from which the value will be retrieved. |
|
static |
Wrapper function for nkGraphics::Camera::getOrthographicHeight().
stack | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for nkGraphics::Camera::getDirectionAtPixelView().
stack | The data from which the value will be retrieved. |
|
static |
Wrapper function for nkGraphics::Camera::getDirectionAtPixelWorld().
stack | The data from which the value will be retrieved. |