From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02203.html | 176 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 docs/doxygen/nel/a02203.html (limited to 'docs/doxygen/nel/a02203.html') diff --git a/docs/doxygen/nel/a02203.html b/docs/doxygen/nel/a02203.html new file mode 100644 index 00000000..64886713 --- /dev/null +++ b/docs/doxygen/nel/a02203.html @@ -0,0 +1,176 @@ + + +NeL: NL3D::CAnimatedValueBlendable< NLMISC::CRGBA > class Reference + + + +
+

NL3D::CAnimatedValueBlendable< NLMISC::CRGBA > Class Reference

#include <animated_value.h> +

+


Detailed Description

+A CRGBA implementation of IAnimatedValue.

+

Author:
Cyril 'Hulud' Corvazier

+Nevrax France

+
Date:
2001
+ +

+ +

+Definition at line 180 of file animated_value.h. + + + + + + + + + + +

Public Member Functions

virtual void affect (const IAnimatedValue &value)
virtual void blend (const IAnimatedValue &value, float blendFactor)
 A quat blend method.


Data Fields

NLMISC::CRGBA Value
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CAnimatedValueBlendable< NLMISC::CRGBA >::affect const IAnimatedValue value  )  [inline, virtual]
+
+ + + + + +
+   + + +

+An assignation method. This method assign a values in the object.

+

Parameters:
+ + +
value is the new value.
+
+ +

+Definition at line 203 of file animated_value.h. +

+References nlassert, NL3D::CAnimatedValueBlendable< T >::Value, and value. +

+

00204         {
+00205                 // Check types of value. typeid is slow, assert only in debug
+00206 #ifdef NL_DEBUG
+00207                 nlassert (typeid (value)==typeid(*this));
+00208 #endif
+00209 
+00210                 // Cast
+00211                 CAnimatedValueBlendable<NLMISC::CRGBA>  *pValue=(CAnimatedValueBlendable<NLMISC::CRGBA>*)&value;
+00212 
+00213                 // Blend
+00214                 Value=pValue->Value;
+00215         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual void NL3D::CAnimatedValueBlendable< NLMISC::CRGBA >::blend const IAnimatedValue value,
float  blendFactor
[inline, virtual]
+
+ + + + + +
+   + + +

+A quat blend method. +

+ +

+Definition at line 184 of file animated_value.h. +

+References nlassert, uint, NL3D::CAnimatedValueBlendable< T >::Value, and value. +

+

00185         {
+00186                 // Check types of value. typeid is slow, assert only in debug
+00187 #ifdef NL_DEBUG
+00188                 nlassert (typeid (value)==typeid(*this));
+00189 #endif
+00190 
+00191                 // Cast.
+00192                 CAnimatedValueBlendable<NLMISC::CRGBA>  *pValue=(CAnimatedValueBlendable<NLMISC::CRGBA>*)&value;
+00193 
+00194                 // blend.
+00195                 Value.blendFromui (pValue->Value, this->Value, (uint)(256.f*blendFactor));
+00196         }
+
+


Field Documentation

+

+ + + + +
+ + +
NLMISC::CRGBA NL3D::CAnimatedValueBlendable< NLMISC::CRGBA >::Value +
+
+ + + + + +
+   + + +

+ +

+Definition at line 218 of file animated_value.h.

+


The documentation for this class was generated from the following file: +
Generated on Tue Mar 16 06:44:24 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1