Procházet zdrojové kódy

Travis CI: API documentation update at 2014-06-03 16:42:49 UTC.
[ci package]

urho3d-travis-ci před 11 roky
rodič
revize
7e024b0e1d
3 změnil soubory, kde provedl 8 přidání a 6 odebrání
  1. 2 2
      Docs/AngelScriptAPI.h
  2. 4 2
      Docs/LuaScriptAPI.dox
  3. 2 2
      Docs/ScriptAPI.dox

+ 2 - 2
Docs/AngelScriptAPI.h

@@ -8869,6 +8869,7 @@ Vector2 hotSpot;
 /* readonly */
 uint memoryUse;
 String name;
+IntVector2 offset;
 IntRect rectangle;
 /* readonly */
 int refs;
@@ -8886,14 +8887,13 @@ int weakRefs;
 class SpriteSheet2D
 {
 // Methods:
-void DefineSprite(const String&, const IntRect&, const Vector2&);
+void DefineSprite(const String&, const IntRect&, const Vector2& = Vector2 ( 0.5f , 0.5f ), const IntVector2& = IntVector2 :: ZERO);
 Sprite2D GetSprite(const String&);
 bool Load(File);
 bool Load(VectorBuffer&);
 bool Save(File) const;
 bool Save(VectorBuffer&) const;
 void SendEvent(const String&, VariantMap& = VariantMap ( ));
-void UpdateSprite(const String&, const IntRect&, const Vector2&);
 
 // Properties:
 /* readonly */

+ 4 - 2
Docs/LuaScriptAPI.dox

@@ -4670,10 +4670,12 @@ Methods:
 - void SetTexture(Texture2D* texture)
 - void SetRectangle(const IntRect& rectangle)
 - void SetHotSpot(const Vector2& hotSpot)
+- void SetOffset(const IntVector2& offset)
 - void SetSpriteSheet(SpriteSheet2D* spriteSheet)
 - Texture2D* GetTexture() const
 - const IntRect& GetRectangle() const
 - const Vector2& GetHotSpot() const
+- const IntVector2& GetOffset() const
 - SpriteSheet2D* GetSpriteSheet() const
 
 Properties:
@@ -4681,6 +4683,7 @@ Properties:
 - Texture2D* texture
 - IntRect rectangle
 - Vector2 hotSpot
+- IntVector2 offset
 - SpriteSheet2D* spriteSheet
 
 ### SpriteSheet2D : Resource
@@ -4691,8 +4694,7 @@ Methods:
 - Sprite2D* GetSprite(const String name) const
 - void DefineSprite(const String name, const IntRect& rectangle)
 - void DefineSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot)
-- void UpdateSprite(const String name, const IntRect& rectangle)
-- void UpdateSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot)
+- void DefineSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot, const IntVector2& originSize)
 
 ### StaticModel : Drawable
 

+ 2 - 2
Docs/ScriptAPI.dox

@@ -9519,6 +9519,7 @@ Properties:
 - Vector2 hotSpot
 - uint memoryUse // readonly
 - String name
+- IntVector2 offset
 - IntRect rectangle
 - int refs // readonly
 - Texture2D@ texture
@@ -9532,14 +9533,13 @@ Properties:
 
 Methods:
 
-- void DefineSprite(const String&, const IntRect&, const Vector2&)
+- void DefineSprite(const String&, const IntRect&, const Vector2& = Vector2 ( 0.5f , 0.5f ), const IntVector2& = IntVector2 :: ZERO)
 - Sprite2D@ GetSprite(const String&)
 - bool Load(File@)
 - bool Load(VectorBuffer&)
 - bool Save(File@) const
 - bool Save(VectorBuffer&) const
 - void SendEvent(const String&, VariantMap& = VariantMap ( ))
-- void UpdateSprite(const String&, const IntRect&, const Vector2&)
 
 Properties: