Wraps a nkGraphics::VertexComponent and offers functions for use in scripting. More...
Static Public Member Functions | |
static void | updateEnvironment (nkScripts::Environment *env) |
static nkScripts::OutputValue | getPosition (void *data) |
static void | setPosition (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getNormal (void *data) |
static void | setNormal (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getColor (void *data) |
static void | setColor (const nkScripts::DataStack &stack) |
Wraps a nkGraphics::VertexComponent 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::VertexComponent::_position, exposed as an attribute getter.
data | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for nkGraphics::VertexComponent::_position, exposed as an attribute setter.
stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::VertexComponent::_normal, exposed as an attribute getter.
data | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for nkGraphics::VertexComponent::_normal, exposed as an attribute setter.
stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::VertexComponent::_color, exposed as an attribute getter.
data | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for nkGraphics::VertexComponent::_color, exposed as an attribute setter.
stack | The parameter stack. |