Browse Source

Travis CI: API documentation update at 2018-01-26 00:40:51 UTC.
[ci package]

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

Message: Minor formatting and modernizing the code.
Close #2214.

urho3d-travis-ci 8 years ago
parent
commit
2045d7a22d
4 changed files with 228 additions and 1 deletions
  1. 103 0
      Docs/AngelScriptAPI.h
  2. 13 0
      Docs/LuaScriptAPI.dox
  3. 111 0
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 103 - 0
Docs/AngelScriptAPI.h

@@ -12251,6 +12251,109 @@ BoundingBox worldBoundingBox;
 uint zoneMask;
 uint zoneMask;
 };
 };
 
 
+class StretchableSprite2D
+{
+public:
+// Methods:
+void ApplyAttributes();
+void DrawDebugGeometry(DebugRenderer, bool);
+Variant GetAttribute(const String&) const;
+ValueAnimation GetAttributeAnimation(const String&) const;
+float GetAttributeAnimationSpeed(const String&) const;
+float GetAttributeAnimationTime(const String&) const;
+WrapMode GetAttributeAnimationWrapMode(const String&) const;
+Variant GetAttributeDefault(const String&) const;
+bool GetInterceptNetworkUpdate(const String&) const;
+bool HasSubscribedToEvent(Object, const String&);
+bool HasSubscribedToEvent(const String&);
+bool IsInView(Camera) const;
+bool Load(File);
+bool Load(VectorBuffer&);
+bool LoadJSON(const JSONValue&);
+bool LoadXML(const XMLElement&);
+void MarkNetworkUpdate() const;
+void Remove();
+void RemoveAttributeAnimation(const String&);
+void RemoveInstanceDefault();
+void RemoveObjectAnimation();
+void ResetToDefault();
+bool Save(File) const;
+bool Save(VectorBuffer&) const;
+bool SaveJSON(JSONValue&) const;
+bool SaveXML(XMLElement&) const;
+void SendEvent(const String&, VariantMap& = VariantMap ( ));
+void SetAnimationTime(float);
+bool SetAttribute(const String&, const Variant&);
+void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
+void SetAttributeAnimationSpeed(const String&, float);
+void SetAttributeAnimationTime(const String&, float);
+void SetAttributeAnimationWrapMode(const String&, WrapMode);
+void SetFlip(bool, bool);
+void SetInterceptNetworkUpdate(const String&, bool);
+
+// Properties:
+float alpha;
+bool animationEnabled;
+/* readonly */
+Array<Variant> attributeDefaults;
+/* readonly */
+Array<AttributeInfo> attributeInfos;
+Array<Variant> attributes;
+BlendMode blendMode;
+IntRect border;
+/* readonly */
+BoundingBox boundingBox;
+bool castShadows;
+/* readonly */
+String category;
+Color color;
+Material customMaterial;
+float drawDistance;
+Rect drawRect;
+bool enabled;
+/* readonly */
+bool enabledEffective;
+bool flipX;
+bool flipY;
+Vector2 hotSpot;
+/* readonly */
+uint id;
+/* readonly */
+bool inView;
+int layer;
+uint lightMask;
+float lodBias;
+uint maxLights;
+/* readonly */
+Node node;
+/* readonly */
+uint numAttributes;
+ObjectAnimation objectAnimation;
+bool occludee;
+bool occluder;
+int orderInLayer;
+/* readonly */
+int refs;
+float shadowDistance;
+uint shadowMask;
+Sprite2D sprite;
+bool temporary;
+Rect textureRect;
+/* readonly */
+StringHash type;
+/* readonly */
+String typeName;
+bool useDrawRect;
+bool useHotSpot;
+bool useTextureRect;
+uint viewMask;
+/* readonly */
+int weakRefs;
+/* readonly */
+BoundingBox worldBoundingBox;
+uint zoneMask;
+};
+
 class String
 class String
 {
 {
 public:
 public:

+ 13 - 0
Docs/LuaScriptAPI.dox

@@ -187,6 +187,7 @@ namespace Urho3D
 <a href="#Class_StaticModel"><b>StaticModel</b></a>
 <a href="#Class_StaticModel"><b>StaticModel</b></a>
 <a href="#Class_StaticModelGroup"><b>StaticModelGroup</b></a>
 <a href="#Class_StaticModelGroup"><b>StaticModelGroup</b></a>
 <a href="#Class_StaticSprite2D"><b>StaticSprite2D</b></a>
 <a href="#Class_StaticSprite2D"><b>StaticSprite2D</b></a>
+<a href="#Class_StretchableSprite2D"><b>StretchableSprite2D</b></a>
 <a href="#Class_StringHash"><b>StringHash</b></a>
 <a href="#Class_StringHash"><b>StringHash</b></a>
 <a href="#Class_Technique"><b>Technique</b></a>
 <a href="#Class_Technique"><b>Technique</b></a>
 <a href="#Class_Terrain"><b>Terrain</b></a>
 <a href="#Class_Terrain"><b>Terrain</b></a>
@@ -6416,6 +6417,18 @@ Properties:
 - Rect textureRect
 - Rect textureRect
 - bool useTextureRect
 - bool useTextureRect
 
 
+<a name="Class_StretchableSprite2D"></a>
+### StretchableSprite2D : StaticSprite2D
+
+Methods:
+
+- void SetBorder(const IntRect& border)
+- const IntRect& GetBorder() const
+
+Properties:
+
+- IntRect border
+
 <a name="Class_StringHash"></a>
 <a name="Class_StringHash"></a>
 ### StringHash
 ### StringHash
 
 

+ 111 - 0
Docs/ScriptAPI.dox

@@ -2321,6 +2321,25 @@ namespace Urho3D
 - %Texture %Rectangle : Rect
 - %Texture %Rectangle : Rect
 - %Use %Texture %Rectangle : bool
 - %Use %Texture %Rectangle : bool
 
 
+### StretchableSprite2D
+- %Is %Enabled : bool
+- %Layer : int
+- %Order %in %Layer : int
+- %View %Mask : int
+- %Sprite : ResourceRef
+- %Blend %Mode : int
+- %Flip X : bool
+- %Flip Y : bool
+- %Color : Color
+- %Custom %material : ResourceRef
+- %Hot %Spot : Vector2
+- %Use %Hot %Spot : bool
+- %Draw %Rectangle : Rect
+- %Use %Draw %Rectangle : bool
+- %Texture %Rectangle : Rect
+- %Use %Texture %Rectangle : bool
+- %Border : IntRect
+
 ### Terrain
 ### Terrain
 - %Is %Enabled : bool
 - %Is %Enabled : bool
 - %Height %Map : ResourceRef
 - %Height %Map : ResourceRef
@@ -2836,6 +2855,7 @@ namespace Urho3D
 <a href="#Class_StaticModel"><b>StaticModel</b></a>
 <a href="#Class_StaticModel"><b>StaticModel</b></a>
 <a href="#Class_StaticModelGroup"><b>StaticModelGroup</b></a>
 <a href="#Class_StaticModelGroup"><b>StaticModelGroup</b></a>
 <a href="#Class_StaticSprite2D"><b>StaticSprite2D</b></a>
 <a href="#Class_StaticSprite2D"><b>StaticSprite2D</b></a>
+<a href="#Class_StretchableSprite2D"><b>StretchableSprite2D</b></a>
 <a href="#Class_String"><b>String</b></a>
 <a href="#Class_String"><b>String</b></a>
 <a href="#Class_StringHash"><b>StringHash</b></a>
 <a href="#Class_StringHash"><b>StringHash</b></a>
 <a href="#Class_Technique"><b>Technique</b></a>
 <a href="#Class_Technique"><b>Technique</b></a>
@@ -13373,6 +13393,97 @@ Properties:
 - BoundingBox worldBoundingBox // readonly
 - BoundingBox worldBoundingBox // readonly
 - uint zoneMask
 - uint zoneMask
 
 
+<a name="Class_StretchableSprite2D"></a>
+
+### StretchableSprite2D
+
+Methods:
+
+- void ApplyAttributes()
+- void DrawDebugGeometry(DebugRenderer@, bool)
+- Variant GetAttribute(const String&) const
+- ValueAnimation@ GetAttributeAnimation(const String&) const
+- float GetAttributeAnimationSpeed(const String&) const
+- float GetAttributeAnimationTime(const String&) const
+- WrapMode GetAttributeAnimationWrapMode(const String&) const
+- Variant GetAttributeDefault(const String&) const
+- bool GetInterceptNetworkUpdate(const String&) const
+- bool HasSubscribedToEvent(Object@, const String&)
+- bool HasSubscribedToEvent(const String&)
+- bool IsInView(Camera@) const
+- bool Load(File@)
+- bool Load(VectorBuffer&)
+- bool LoadJSON(const JSONValue&)
+- bool LoadXML(const XMLElement&)
+- void MarkNetworkUpdate() const
+- void Remove()
+- void RemoveAttributeAnimation(const String&)
+- void RemoveInstanceDefault()
+- void RemoveObjectAnimation()
+- void ResetToDefault()
+- bool Save(File@) const
+- bool Save(VectorBuffer&) const
+- bool SaveJSON(JSONValue&) const
+- bool SaveXML(XMLElement&) const
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
+- void SetAnimationTime(float)
+- bool SetAttribute(const String&, const Variant&)
+- void SetAttributeAnimation(const String&, ValueAnimation@, WrapMode = WM_LOOP, float = 1.0f)
+- void SetAttributeAnimationSpeed(const String&, float)
+- void SetAttributeAnimationTime(const String&, float)
+- void SetAttributeAnimationWrapMode(const String&, WrapMode)
+- void SetFlip(bool, bool)
+- void SetInterceptNetworkUpdate(const String&, bool)
+
+Properties:
+
+- float alpha
+- bool animationEnabled
+- Variant[] attributeDefaults // readonly
+- AttributeInfo[] attributeInfos // readonly
+- Variant[] attributes
+- BlendMode blendMode
+- IntRect border
+- BoundingBox boundingBox // readonly
+- bool castShadows
+- String category // readonly
+- Color color
+- Material@ customMaterial
+- float drawDistance
+- Rect drawRect
+- bool enabled
+- bool enabledEffective // readonly
+- bool flipX
+- bool flipY
+- Vector2 hotSpot
+- uint id // readonly
+- bool inView // readonly
+- int layer
+- uint lightMask
+- float lodBias
+- uint maxLights
+- Node@ node // readonly
+- uint numAttributes // readonly
+- ObjectAnimation@ objectAnimation
+- bool occludee
+- bool occluder
+- int orderInLayer
+- int refs // readonly
+- float shadowDistance
+- uint shadowMask
+- Sprite2D@ sprite
+- bool temporary
+- Rect textureRect
+- StringHash type // readonly
+- String typeName // readonly
+- bool useDrawRect
+- bool useHotSpot
+- bool useTextureRect
+- uint viewMask
+- int weakRefs // readonly
+- BoundingBox worldBoundingBox // readonly
+- uint zoneMask
+
 <a name="Class_String"></a>
 <a name="Class_String"></a>
 
 
 ### String
 ### String

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.1.101
+0.1.102