Răsfoiți Sursa

Travis CI: API documentation update at 2014-06-06 05:39:49 UTC.
[ci package]

urho3d-travis-ci 11 ani în urmă
părinte
comite
deec4ef512
3 a modificat fișierele cu 34 adăugiri și 6 ștergeri
  1. 10 1
      Docs/AngelScriptAPI.h
  2. 13 4
      Docs/LuaScriptAPI.dox
  3. 11 1
      Docs/ScriptAPI.dox

+ 10 - 1
Docs/AngelScriptAPI.h

@@ -190,7 +190,8 @@ bool Save(File) const;
 bool Save(VectorBuffer&) const;
 bool Save(VectorBuffer&) const;
 bool SaveXML(XMLElement&) const;
 bool SaveXML(XMLElement&) const;
 void SendEvent(const String&, VariantMap& = VariantMap ( ));
 void SendEvent(const String&, VariantMap& = VariantMap ( ));
-void SetAnimation(AnimationSet2D, const String&);
+void SetAnimation(AnimationSet2D, const String&, LoopMode2D = LM_DEFAULT);
+void SetAnimation(const String&, LoopMode2D = LM_DEFAULT);
 bool SetAttribute(const String&, const Variant&);
 bool SetAttribute(const String&, const Variant&);
 void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
 void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
 void SetAttributeAnimationSpeed(const String&, float);
 void SetAttributeAnimationSpeed(const String&, float);
@@ -228,6 +229,7 @@ bool inView;
 int layer;
 int layer;
 uint lightMask;
 uint lightMask;
 float lodBias;
 float lodBias;
+LoopMode2D loopMode;
 uint maxLights;
 uint maxLights;
 /* readonly */
 /* readonly */
 Node node;
 Node node;
@@ -11517,6 +11519,13 @@ LIGHT_SPOT,
 LIGHT_POINT,
 LIGHT_POINT,
 };
 };
 
 
+enum LoopMode2D
+{
+LM_DEFAULT,
+LM_FORCE_LOOPED,
+LM_FORCE_CLAMPED,
+};
+
 enum Orientation
 enum Orientation
 {
 {
 O_HORIZONTAL,
 O_HORIZONTAL,

+ 13 - 4
Docs/LuaScriptAPI.dox

@@ -80,9 +80,10 @@ Methods:
 - void SetFlipY(bool flipY)
 - void SetFlipY(bool flipY)
 - void SetColor(const Color& color)
 - void SetColor(const Color& color)
 - void SetSpeed(float speed)
 - void SetSpeed(float speed)
-- void SetAnimation(const String name)
-- void SetAnimation(AnimationSet2D* animationSet, const String name)
+- void SetAnimation(AnimationSet2D* animationSet, const String name, LoopMode2D loopMode = LM_DEFAULT)
+- void SetAnimation(const String name, LoopMode2D loopMode = LM_DEFAULT)
 - void SetAnimationSet(AnimationSet2D* animationSet)
 - void SetAnimationSet(AnimationSet2D* animationSet)
+- void SetLoopMode(LoopMode2D loopMode)
 - int GetLayer() const
 - int GetLayer() const
 - int GetOrderInLayer() const
 - int GetOrderInLayer() const
 - BlendMode GetBlendMode() const
 - BlendMode GetBlendMode() const
@@ -90,8 +91,9 @@ Methods:
 - bool GetFlipY() const
 - bool GetFlipY() const
 - const Color& GetColor() const
 - const Color& GetColor() const
 - float GetSpeed() const
 - float GetSpeed() const
-- AnimationSet2D* GetAnimationSet() const
 - const String GetAnimation() const
 - const String GetAnimation() const
+- AnimationSet2D* GetAnimationSet() const
+- LoopMode2D GetLoopMode() const
 
 
 Properties:
 Properties:
 
 
@@ -102,8 +104,9 @@ Properties:
 - bool flipY
 - bool flipY
 - Color& color
 - Color& color
 - float speed
 - float speed
-- AnimationSet2D* animationSet
 - String animation
 - String animation
+- AnimationSet2D* animationSet
+- LoopMode2D loopMode
 
 
 ### Animation : Resource
 ### Animation : Resource
 
 
@@ -6339,6 +6342,12 @@ Properties:
 - int LOCK_SHADOW
 - int LOCK_SHADOW
 - int LOCK_SCRATCH
 - int LOCK_SCRATCH
 
 
+### LoopMode2D
+
+- int LM_DEFAULT
+- int LM_FORCE_LOOPED
+- int LM_FORCE_CLAMPED
+
 ### Orientation
 ### Orientation
 
 
 - int O_HORIZONTAL
 - int O_HORIZONTAL

+ 11 - 1
Docs/ScriptAPI.dox

@@ -650,6 +650,7 @@ namespace Urho3D
 - %Speed : float
 - %Speed : float
 - %Animation %Set : ResourceRef
 - %Animation %Set : ResourceRef
 - %Animation : String
 - %Animation : String
+- %Loop %Mode : int
 - %Max %Lights : int
 - %Max %Lights : int
 - %View %Mask : int
 - %View %Mask : int
 - %Light %Mask : int
 - %Light %Mask : int
@@ -2131,7 +2132,8 @@ Methods:
 - bool Save(VectorBuffer&) const
 - bool Save(VectorBuffer&) const
 - bool SaveXML(XMLElement&) const
 - bool SaveXML(XMLElement&) const
 - void SendEvent(const String&, VariantMap& = VariantMap ( ))
 - void SendEvent(const String&, VariantMap& = VariantMap ( ))
-- void SetAnimation(AnimationSet2D@, const String&)
+- void SetAnimation(AnimationSet2D@, const String&, LoopMode2D = LM_DEFAULT)
+- void SetAnimation(const String&, LoopMode2D = LM_DEFAULT)
 - bool SetAttribute(const String&, const Variant&)
 - bool SetAttribute(const String&, const Variant&)
 - void SetAttributeAnimation(const String&, ValueAnimation@, WrapMode = WM_LOOP, float = 1.0f)
 - void SetAttributeAnimation(const String&, ValueAnimation@, WrapMode = WM_LOOP, float = 1.0f)
 - void SetAttributeAnimationSpeed(const String&, float)
 - void SetAttributeAnimationSpeed(const String&, float)
@@ -2162,6 +2164,7 @@ Properties:
 - int layer
 - int layer
 - uint lightMask
 - uint lightMask
 - float lodBias
 - float lodBias
+- LoopMode2D loopMode
 - uint maxLights
 - uint maxLights
 - Node@ node // readonly
 - Node@ node // readonly
 - uint numAttributes // readonly
 - uint numAttributes // readonly
@@ -11797,6 +11800,13 @@ Properties:
 - LIGHT_POINT
 - LIGHT_POINT
 
 
 
 
+### LoopMode2D
+
+- LM_DEFAULT
+- LM_FORCE_LOOPED
+- LM_FORCE_CLAMPED
+
+
 ### Orientation
 ### Orientation
 
 
 - O_HORIZONTAL
 - O_HORIZONTAL