#include <animated_value.h>
Inheritance diagram for NL3D::IAnimatedValue:
Nevrax France
Definition at line 47 of file animated_value.h.
Public Member Functions | |
virtual void | affect (const IAnimatedValue &value)=0 |
virtual void | blend (const IAnimatedValue &value, float blendFactor)=0 |
|
An assignation method. This method assign a values in the object.
Implemented in NL3D::CAnimatedValueBlendable< T >, NL3D::CAnimatedValueNotBlendable< T >, NL3D::CAnimatedValueBlendable< float >, NL3D::CAnimatedValueBlendable< NLMISC::CQuat >, NL3D::CAnimatedValueBlendable< NLMISC::CRGBA >, NL3D::CAnimatedValueBlendable< NLMISC::CAngleAxis >, NL3D::CAnimatedValueBlendable< NLMISC::CVector >, NL3D::CAnimatedValueBlendable< CQuat >, NL3D::CAnimatedValueBlendable< sint32 >, NL3D::CAnimatedValueBlendable< CVector >, NL3D::CAnimatedValueNotBlendable< std::string >, and NL3D::CAnimatedValueNotBlendable< bool >. Referenced by NL3D::CChannelMixer::eval(), NL3D::CChannelMixer::evalSingleChannel(), and NL3D::CChannelMixer::refreshList(). |
|
The blend method. This method blend two the animated values and store the result in the object. The two first args can be reference on the object itself. Idealy, it performs the operation this->value=(this->value*blendFactor + value*(1.f-blendFactor))
Implemented in NL3D::CAnimatedValueBlendable< T >, NL3D::CAnimatedValueNotBlendable< T >, NL3D::CAnimatedValueBlendable< float >, NL3D::CAnimatedValueBlendable< NLMISC::CQuat >, NL3D::CAnimatedValueBlendable< NLMISC::CRGBA >, NL3D::CAnimatedValueBlendable< NLMISC::CAngleAxis >, NL3D::CAnimatedValueBlendable< NLMISC::CVector >, NL3D::CAnimatedValueBlendable< CQuat >, NL3D::CAnimatedValueBlendable< sint32 >, NL3D::CAnimatedValueBlendable< CVector >, NL3D::CAnimatedValueNotBlendable< std::string >, and NL3D::CAnimatedValueNotBlendable< bool >. Referenced by NL3D::CChannelMixer::evalSingleChannel(). |