2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of DAE2MA.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
11
#ifndef __DAE2MA_EFFECTANIMATION_H__
12
#define __DAE2MA_EFFECTANIMATION_H__
14
#include "DAE2MAPrerequisites.h"
15
#include "DAE2MABaseAnimation.h"
17
#include "COLLADAFWEffectCommon.h"
23
/** Stores the material id, the animation id and the animated value with it's type. */
24
class EffectAnimation : public BaseAnimation
28
enum AnimatedValueType
30
COLOR_OR_TEXTURE_STANDARD,
31
COLOR_OR_TEXTURE_AMBIENT,
32
COLOR_OR_TEXTURE_DIFFUSE,
33
COLOR_OR_TEXTURE_EMISSION,
34
FLOAT_OR_PARAM_REFRACTIVE_INDEX,
35
COLOR_OR_TEXTURE_TRANSPARENCY, // Opacity
36
FLOAT_OR_PARAM_ECCENTRICITY, // shininess (blinn)
37
FLOAT_OR_PARAM_COSINE_POWER, // shininess (phong)
38
COLOR_OR_TEXTURE_REFLECTED, // Reflective (reflect shader)
39
FLOAT_OR_PARAM_REFLECTIVITY, // (reflect shader)
40
COLOR_OR_TEXTURE_SPECULAR, // specular (reflect shader)
45
AnimatedValueType mAnimatedValueType;
53
virtual ~EffectAnimation();
55
const EffectAnimation::AnimatedValueType& getAnimatedValueType () const { return mAnimatedValueType; }
56
void setAnimatedValueType ( const EffectAnimation::AnimatedValueType& val ) { mAnimatedValueType = val; }
62
#endif // __DAE2MA_EFFECTANIMATION_H__