A Value holding a two vector value. More...
#include <Value.h>
Public Member Functions | |
Value2 (const string &name) | |
Creates an uninitialized Value2. | |
Value2 (const string &name, const vec2< T > &value) | |
Creates a Value2. | |
virtual | ~Value2 () |
Deletes this Value2. | |
virtual UniformType | getType () const |
Returns the type of this value. | |
vec2< T > | get () const |
Returns the current value of this Value2. | |
void | set (const vec2< T > &value) |
Sets the value of this Value2. |
A Value holding a two vector value.
ork::Value2< U, T, V >::Value2 | ( | const string & | name | ) | [inline] |
Creates an uninitialized Value2.
ork::Value2< U, T, V >::Value2 | ( | const string & | name, | |
const vec2< T > & | value | |||
) | [inline] |
Creates a Value2.
virtual ork::Value2< U, T, V >::~Value2 | ( | ) | [inline, virtual] |
Deletes this Value2.
vec2<T> ork::Value2< U, T, V >::get | ( | ) | const [inline] |
Returns the current value of this Value2.
virtual UniformType ork::Value2< U, T, V >::getType | ( | ) | const [inline, virtual] |
Returns the type of this value.
Implements ork::Value.
void ork::Value2< U, T, V >::set | ( | const vec2< T > & | value | ) | [inline] |