Browse Source

Travis CI: API documentation update at 2014-03-10 00:17:40 UTC.
[ci package]

urho3d-travis-ci 11 years ago
parent
commit
8788e70b21
3 changed files with 85 additions and 19 deletions
  1. 25 5
      Docs/AngelScriptAPI.h
  2. 34 10
      Docs/LuaScriptAPI.dox
  3. 26 4
      Docs/ScriptAPI.dox

+ 25 - 5
Docs/AngelScriptAPI.h

@@ -4012,6 +4012,7 @@ class Node
 {
 // Methods:
 void AddChild(Node);
+void AddChild(Node, uint);
 void ApplyAttributes();
 Node Clone(CreateMode = REPLICATED);
 Node CreateChild(const String& = String ( ), CreateMode = REPLICATED, uint = 0);
@@ -5127,6 +5128,7 @@ class Scene
 {
 // Methods:
 void AddChild(Node);
+void AddChild(Node, uint);
 void AddRequiredPackageFile(PackageFile);
 void ApplyAttributes();
 void Clear(bool = true, bool = true);
@@ -6381,7 +6383,26 @@ float radius;
 class Spline
 {
 // Methods:
+void AddKnot(const Variant&);
+void AddKnot(const Variant&, uint);
+void Clear();
+Variant GetPoint(float);
+void RemoveKnot();
+void RemoveKnot(uint);
+
+// Properties:
+InterpolationMode interpolationMode;
+Array<Variant> knot;
+Array<Variant> knots;
+};
+
+class SplinePath
+{
+// Methods:
+void AddControlPoint(Node, uint = M_MAX_UNSIGNED);
 void ApplyAttributes();
+void ClearControlPoints();
+void DrawDebugGeometry(DebugRenderer, bool);
 Variant GetAttribute(const String&) const;
 Variant GetAttributeDefault(const String&) const;
 Vector3 GetPoint(float) const;
@@ -6389,9 +6410,8 @@ bool Load(File, bool = false);
 bool LoadXML(const XMLElement&, bool = false);
 void MarkNetworkUpdate() const;
 void Move(float);
-void Pop();
-void Push(const Vector3&);
 void Remove();
+void RemoveControlPoint(Node);
 void RemoveInstanceDefault();
 void Reset();
 void ResetToDefault();
@@ -6410,16 +6430,16 @@ Array<Variant> attributes;
 ShortStringHash baseType;
 /* readonly */
 String category;
-Array<Vector3> controlPoints;
+Node controlledNode;
 bool enabled;
 /* readonly */
 bool enabledEffective;
 /* readonly */
-bool finished;
-/* readonly */
 uint id;
 InterpolationMode interpolationMode;
 /* readonly */
+bool isFinished;
+/* readonly */
 Node node;
 /* readonly */
 uint numAttributes;

+ 34 - 10
Docs/LuaScriptAPI.dox

@@ -1076,7 +1076,7 @@ Methods:
 - bool IsOccluder() const
 - bool IsOccludee() const
 - bool IsInView() const
-- bool IsInView(Camera* tolua_var_1) const
+- bool IsInView(Camera* tolua_var_2) const
 - Zone* GetZone() const
 
 Properties:
@@ -3768,27 +3768,51 @@ Properties:
 - float radius
 - bool defined
 
-### Spline : Component
+### Spline
+
 
 Methods:
 
-- void SetInterpolationMode(InterpolationMode interpolationMode)
-- void SetSpeed(float speed)
-- void SetPosition(float factor)
+- Spline() (GC)
+- Spline* new()
+- Spline(InterpolationMode mode) (GC)
+- Spline* new(InterpolationMode mode)
+- Spline(const Spline& rhs) (GC)
+- Spline* new(const Spline& rhs)
+- bool operator==(const Spline& rhs) const
+- Variant GetPoint(float f) const
+- Variant GetKnot(unsigned index) const
+- void SetKnot(const Variant& knot, unsigned tolua_var_1)
+- void AddKnot(const Variant& knot)
+- void AddKnot(const Variant& knot, unsigned index)
+- void RemoveKnot()
+- void RemoveKnot(unsigned index)
+- void Clear()
+
+Properties:
+
+- InterpolationMode interpolationMode
+
+### SplinePath : Component
+
+Methods:
+
+- void AddControlPoint(Node* point, unsigned index = M_MAX_UNSIGNED)
+- void RemoveControlPoint(Node* point)
+- void ClearControlPoints()
+- Vector3 GetPoint(float factor) const
 - InterpolationMode GetInterpolationMode() const
-- float GetSpeed() const
 - Vector3 GetPosition() const
-- void Push(const Vector3& controlPoint)
-- void Pop()
-- Vector3 GetPoint(float factor) const
+- void SetInterpolationMode(InterpolationMode mode)
+- void SetPosition(float factor)
 - void Move(float timeStep)
 - void Reset()
 - bool IsFinished() const
 
 Properties:
 
-- InterpolationMode interpolationMode
 - float speed
+- Node* controlledNode
 
 ### Sprite : UIElement
 

+ 26 - 4
Docs/ScriptAPI.dox

@@ -3355,6 +3355,7 @@ Properties:
 Methods:
 
 - void AddChild(Node@)
+- void AddChild(Node@, uint)
 - void ApplyAttributes()
 - Node@ Clone(CreateMode = REPLICATED)
 - Node@ CreateChild(const String& = String ( ), CreateMode = REPLICATED, uint = 0)
@@ -4310,6 +4311,7 @@ Properties:
 Methods:
 
 - void AddChild(Node@)
+- void AddChild(Node@, uint)
 - void AddRequiredPackageFile(PackageFile@)
 - void ApplyAttributes()
 - void Clear(bool = true, bool = true)
@@ -5354,7 +5356,28 @@ Properties:
 
 Methods:
 
+- void AddKnot(const Variant&)
+- void AddKnot(const Variant&, uint)
+- void Clear()
+- Variant GetPoint(float)
+- void RemoveKnot()
+- void RemoveKnot(uint)
+
+Properties:
+
+- InterpolationMode interpolationMode
+- Variant[] knot
+- Variant[]@ knots
+
+
+### SplinePath
+
+Methods:
+
+- void AddControlPoint(Node@, uint = M_MAX_UNSIGNED)
 - void ApplyAttributes()
+- void ClearControlPoints()
+- void DrawDebugGeometry(DebugRenderer@, bool)
 - Variant GetAttribute(const String&) const
 - Variant GetAttributeDefault(const String&) const
 - Vector3 GetPoint(float) const
@@ -5362,9 +5385,8 @@ Methods:
 - bool LoadXML(const XMLElement&, bool = false)
 - void MarkNetworkUpdate() const
 - void Move(float)
-- void Pop()
-- void Push(const Vector3&)
 - void Remove()
+- void RemoveControlPoint(Node@)
 - void RemoveInstanceDefault()
 - void Reset()
 - void ResetToDefault()
@@ -5380,12 +5402,12 @@ Properties:
 - Variant[] attributes
 - ShortStringHash baseType // readonly
 - String category // readonly
-- Vector3[]@ controlPoints
+- Node@ controlledNode
 - bool enabled
 - bool enabledEffective // readonly
-- bool finished // readonly
 - uint id // readonly
 - InterpolationMode interpolationMode
+- bool isFinished // readonly
 - Node@ node // readonly
 - uint numAttributes // readonly
 - Vector3 position