This class implements descriptors for float interpolation functors. More...
Static Public Member Functions | |
static VgEngine::VgRefPtr < VgFloatInterpolationFunctorDescriptor > | create () |
This static method returns a new heap-allocated descriptor. | |
Public Attributes | |
float | mStartValue |
The floating point value at start of the interpolation. | |
float | mEndValue |
The floating point value at start of the interpolation. | |
Protected Member Functions | |
VgFloatInterpolationFunctorDescriptor () | |
Class constructor. | |
virtual | ~VgFloatInterpolationFunctorDescriptor () |
Class destructor. | |
Friends | |
class | VgObjectBridge |
This class implements descriptors for float interpolation functors.
It will simply interpolate between two float values .
VgEngine::VgFloatInterpolationFunctorDescriptor::VgFloatInterpolationFunctorDescriptor | ( | ) | [protected] |
Class constructor.
This can't be called publicly, instances must be obtained through the VgFloatInterpolationFunctorDescriptor::create method.
virtual VgEngine::VgFloatInterpolationFunctorDescriptor::~VgFloatInterpolationFunctorDescriptor | ( | ) | [protected, virtual] |
Class destructor.
static VgEngine::VgRefPtr< VgFloatInterpolationFunctorDescriptor > VgEngine::VgFloatInterpolationFunctorDescriptor::create | ( | ) | [static] |
This static method returns a new heap-allocated descriptor.
It is the only method that should be used to instantiate new descriptors. It is a way to make sure no one will delete it, except the last VgRefPtr pointing to it.
friend class VgObjectBridge [friend] |
Reimplemented from VgEngine::VgFunctorDescriptor.
The floating point value at start of the interpolation.
The floating point value at start of the interpolation.