2
0
Эх сурвалжийг харах

Travis CI: API documentation update at 2016-04-08 17:23:36 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/b75110845675d3e5971b185eca4a557f8c3f0d8d

Message: Fixed AS bindings for Animation and AnimationState

urho3d-travis-ci 9 жил өмнө
parent
commit
b682f559b6

+ 3 - 2
Docs/AngelScriptAPI.h

@@ -296,6 +296,8 @@ class Animation
 void AddTrigger(const AnimationTriggerPoint&);
 void AddTrigger(float, bool, const Variant&);
 AnimationTrack CreateTrack(const String&);
+AnimationTrack GetTrack(StringHash);
+AnimationTrack GetTrack(const String&);
 bool HasSubscribedToEvent(Object, const String&);
 bool HasSubscribedToEvent(const String&);
 bool Load(File);
@@ -322,7 +324,7 @@ uint numTriggers;
 /* readonly */
 int refs;
 /* readonly */
-Array<AnimationTrack> tracks;
+Array<String> trackNames;
 Array<AnimationTriggerPoint> triggers;
 /* readonly */
 StringHash type;
@@ -495,7 +497,6 @@ void SetBoneWeight(uint, float, bool = false);
 /* readonly */
 Animation animation;
 AnimationBlendMode blendMode;
-Array<float> boneWeights;
 /* readonly */
 bool enabled;
 uint8 layer;

+ 3 - 2
Docs/ScriptAPI.dox

@@ -2726,6 +2726,8 @@ Methods:
 - void AddTrigger(const AnimationTriggerPoint&)
 - void AddTrigger(float, bool, const Variant&)
 - AnimationTrack@ CreateTrack(const String&)
+- AnimationTrack@ GetTrack(StringHash)
+- AnimationTrack@ GetTrack(const String&)
 - bool HasSubscribedToEvent(Object@, const String&)
 - bool HasSubscribedToEvent(const String&)
 - bool Load(File@)
@@ -2748,7 +2750,7 @@ Properties:
 - uint numTracks // readonly
 - uint numTriggers
 - int refs // readonly
-- AnimationTrack@[] tracks // readonly
+- String[]@ trackNames // readonly
 - AnimationTriggerPoint[] triggers
 - StringHash type // readonly
 - String typeName // readonly
@@ -2907,7 +2909,6 @@ Properties:
 
 - Animation@ animation // readonly
 - AnimationBlendMode blendMode
-- float[] boneWeights
 - bool enabled // readonly
 - uint8 layer
 - float length // readonly

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.0.206
+0.0.207