|
|
@@ -12,12 +12,12 @@ Methods:
|
|
|
|
|
|
- void SetAnimationEnabled(bool enable)
|
|
|
- void SetObjectAnimation(ObjectAnimation* objectAnimation)
|
|
|
-- void SetAttributeAnimation(const String name, AttributeAnimation* attributeAnimation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
|
|
|
+- void SetAttributeAnimation(const String name, ValueAnimation* attributeAnimation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
|
|
|
- void SetAttributeAnimationWrapMode(const String name, WrapMode wrapMode)
|
|
|
- void SetAttributeAnimationSpeed(const String name, float speed)
|
|
|
- bool GetAnimationEnabled() const
|
|
|
- ObjectAnimation* GetObjectAnimation() const
|
|
|
-- AttributeAnimation* GetAttributeAnimation(const String name) const
|
|
|
+- ValueAnimation* GetAttributeAnimation(const String name) const
|
|
|
- WrapMode GetAttributeAnimationWrapMode(const String name) const
|
|
|
- float GetAttributeAnimationSpeed(const String name) const
|
|
|
|
|
|
@@ -233,29 +233,6 @@ Properties:
|
|
|
- float length (readonly)
|
|
|
- char layer
|
|
|
|
|
|
-### AttributeAnimation : Resource
|
|
|
-
|
|
|
-Methods:
|
|
|
-
|
|
|
-- AttributeAnimation() (GC)
|
|
|
-- AttributeAnimation* new()
|
|
|
-- void delete()
|
|
|
-- void SetInterpolationMethod(InterpMethod method)
|
|
|
-- void SetSplineTension(float tension)
|
|
|
-- void SetValueType(VariantType valueType)
|
|
|
-- bool SetKeyFrame(float time, const Variant& value)
|
|
|
-- void SetEventFrame(float time, const StringHash& eventType)
|
|
|
-- void SetEventFrame(float time, const StringHash& eventType, const VariantMap& eventData)
|
|
|
-- InterpMethod GetInterpolationMethod() const
|
|
|
-- float GetSplineTension() const
|
|
|
-- VariantType GetValueType() const
|
|
|
-
|
|
|
-Properties:
|
|
|
-
|
|
|
-- InterpMethod interpolationMethod
|
|
|
-- float splineTension
|
|
|
-- VariantType valueType
|
|
|
-
|
|
|
### Audio : Object
|
|
|
|
|
|
Methods:
|
|
|
@@ -3114,10 +3091,10 @@ Methods:
|
|
|
- ObjectAnimation() (GC)
|
|
|
- ObjectAnimation* new()
|
|
|
- void delete()
|
|
|
-- void AddAttributeAnimation(const String name, AttributeAnimation* attributeAnimation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
|
|
|
+- void AddAttributeAnimation(const String name, ValueAnimation* attributeAnimation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
|
|
|
- void RemoveAttributeAnimation(const String name)
|
|
|
-- void RemoveAttributeAnimation(AttributeAnimation* attributeAnimation)
|
|
|
-- AttributeAnimation* GetAttributeAnimation(const String name) const
|
|
|
+- void RemoveAttributeAnimation(ValueAnimation* attributeAnimation)
|
|
|
+- ValueAnimation* GetAttributeAnimation(const String name) const
|
|
|
- WrapMode GetAttributeAnimationWrapMode(const String name) const
|
|
|
- float GetAttributeAnimationSpeed(const String name) const
|
|
|
|
|
|
@@ -5373,6 +5350,29 @@ Properties:
|
|
|
- TraversalMode traversalMode
|
|
|
- bool elementEventSender
|
|
|
|
|
|
+### ValueAnimation : Resource
|
|
|
+
|
|
|
+Methods:
|
|
|
+
|
|
|
+- ValueAnimation() (GC)
|
|
|
+- ValueAnimation* new()
|
|
|
+- void delete()
|
|
|
+- void SetInterpolationMethod(InterpMethod method)
|
|
|
+- void SetSplineTension(float tension)
|
|
|
+- void SetValueType(VariantType valueType)
|
|
|
+- bool SetKeyFrame(float time, const Variant& value)
|
|
|
+- void SetEventFrame(float time, const StringHash& eventType)
|
|
|
+- void SetEventFrame(float time, const StringHash& eventType, const VariantMap& eventData)
|
|
|
+- InterpMethod GetInterpolationMethod() const
|
|
|
+- float GetSplineTension() const
|
|
|
+- VariantType GetValueType() const
|
|
|
+
|
|
|
+Properties:
|
|
|
+
|
|
|
+- InterpMethod interpolationMethod
|
|
|
+- float splineTension
|
|
|
+- VariantType valueType
|
|
|
+
|
|
|
### Variant
|
|
|
|
|
|
|