$#include "AttributeAnimation.h" enum InterpolationMethod { IM_LINEAR = 0, IM_SPLINE, }; class AttributeAnimation : public Resource { AttributeAnimation(); virtual ~AttributeAnimation(); void SetInterpolationMethod(InterpolationMethod method); void SetSplineTension(float tension); void SetValueType(VariantType valueType); bool SetKeyFrame(float time, const Variant& value); void SetEventFrame(float time, const StringHash& eventType, const VariantMap& eventData = VariantMap()); InterpolationMethod GetInterpolationMethod() const; float GetSplineTension() const; VariantType GetValueType() const; tolua_property__get_set InterpolationMethod interpolationMethod; tolua_property__get_set float splineTension; tolua_property__get_set VariantType valueType; }; ${ #define TOLUA_DISABLE_tolua_SceneLuaAPI_AttributeAnimation_new00 static int tolua_SceneLuaAPI_AttributeAnimation_new00(lua_State* tolua_S) { return ToluaNewObject(tolua_S); } #define TOLUA_DISABLE_tolua_SceneLuaAPI_AttributeAnimation_new00_local static int tolua_SceneLuaAPI_AttributeAnimation_new00_local(lua_State* tolua_S) { return ToluaNewObjectGC(tolua_S); } $}