#include <Inventor/fields/SoSFVec2f.h>
Public Member Functions | |
void | setValue (const float x, const float y) |
void | setValue (const float xy[2]) |
Static Public Member Functions | |
static void | initClass (void) |
This field is used where nodes, engines or other field containers needs to store a single vector with two elements.
void SoSFVec2f::initClass | ( | void | ) | [static] |
Internal method called upon initialization of the library (from SoDB::init()) to set up the type system.
Reimplemented from SoSField.
void SoSFVec2f::setValue | ( | const float | x, | |
const float | y | |||
) |
Set value of vector.
void SoSFVec2f::setValue | ( | const float | xy[2] | ) |
Set value of vector.