Browse Source

Travis CI: API documentation update at 2014-03-18 13:40:46 UTC.
[ci package]

urho3d-travis-ci 11 years ago
parent
commit
b00c0bd471
3 changed files with 361 additions and 0 deletions
  1. 166 0
      Docs/AngelScriptAPI.h
  2. 62 0
      Docs/LuaScriptAPI.dox
  3. 133 0
      Docs/ScriptAPI.dox

+ 166 - 0
Docs/AngelScriptAPI.h

@@ -1889,6 +1889,172 @@ int weakRefs;
 Vector3 worldPosition;
 Vector3 worldPosition;
 };
 };
 
 
+class Constraint2D
+{
+// Methods:
+void ApplyAttributes();
+void DrawDebugGeometry(DebugRenderer, bool);
+Variant GetAttribute(const String&) const;
+Variant GetAttributeDefault(const String&) const;
+bool Load(File, bool = false);
+bool LoadXML(const XMLElement&, bool = false);
+void MarkNetworkUpdate() const;
+void Remove();
+void RemoveInstanceDefault();
+void ResetToDefault();
+bool Save(File) const;
+bool SaveXML(XMLElement&) const;
+void SendEvent(const String&, VariantMap& = VariantMap ( ));
+bool SetAttribute(const String&, const Variant&);
+
+// Properties:
+/* readonly */
+Array<Variant> attributeDefaults;
+/* readonly */
+Array<AttributeInfo> attributeInfos;
+Array<Variant> attributes;
+/* readonly */
+ShortStringHash baseType;
+/* readonly */
+String category;
+bool collideConnected;
+bool enabled;
+/* readonly */
+bool enabledEffective;
+/* readonly */
+uint id;
+/* readonly */
+Node node;
+/* readonly */
+uint numAttributes;
+RigidBody2D otherBody;
+/* readonly */
+RigidBody2D ownerBody;
+/* readonly */
+int refs;
+bool temporary;
+/* readonly */
+ShortStringHash type;
+/* readonly */
+String typeName;
+/* readonly */
+int weakRefs;
+};
+
+class ConstraintRevolute2D
+{
+// Methods:
+void ApplyAttributes();
+void DrawDebugGeometry(DebugRenderer, bool);
+Variant GetAttribute(const String&) const;
+Variant GetAttributeDefault(const String&) const;
+bool Load(File, bool = false);
+bool LoadXML(const XMLElement&, bool = false);
+void MarkNetworkUpdate() const;
+void Remove();
+void RemoveInstanceDefault();
+void ResetToDefault();
+bool Save(File) const;
+bool SaveXML(XMLElement&) const;
+void SendEvent(const String&, VariantMap& = VariantMap ( ));
+bool SetAttribute(const String&, const Variant&);
+
+// Properties:
+Vector2 anchorPoint;
+/* readonly */
+Array<Variant> attributeDefaults;
+/* readonly */
+Array<AttributeInfo> attributeInfos;
+Array<Variant> attributes;
+/* readonly */
+ShortStringHash baseType;
+/* readonly */
+String category;
+bool collideConnected;
+bool enableLimit;
+bool enableMotor;
+bool enabled;
+/* readonly */
+bool enabledEffective;
+/* readonly */
+uint id;
+float lowerAngle;
+float maxMotorTorque;
+float motorSpeed;
+/* readonly */
+Node node;
+/* readonly */
+uint numAttributes;
+RigidBody2D otherBody;
+/* readonly */
+RigidBody2D ownerBody;
+/* readonly */
+int refs;
+bool temporary;
+/* readonly */
+ShortStringHash type;
+/* readonly */
+String typeName;
+float upperAngle;
+/* readonly */
+int weakRefs;
+};
+
+class ConstraintRope2D
+{
+// Methods:
+void ApplyAttributes();
+void DrawDebugGeometry(DebugRenderer, bool);
+Variant GetAttribute(const String&) const;
+Variant GetAttributeDefault(const String&) const;
+bool Load(File, bool = false);
+bool LoadXML(const XMLElement&, bool = false);
+void MarkNetworkUpdate() const;
+void Remove();
+void RemoveInstanceDefault();
+void ResetToDefault();
+bool Save(File) const;
+bool SaveXML(XMLElement&) const;
+void SendEvent(const String&, VariantMap& = VariantMap ( ));
+bool SetAttribute(const String&, const Variant&);
+
+// Properties:
+/* readonly */
+Array<Variant> attributeDefaults;
+/* readonly */
+Array<AttributeInfo> attributeInfos;
+Array<Variant> attributes;
+/* readonly */
+ShortStringHash baseType;
+/* readonly */
+String category;
+bool collideConnected;
+bool enabled;
+/* readonly */
+bool enabledEffective;
+/* readonly */
+uint id;
+float maxLength;
+/* readonly */
+Node node;
+/* readonly */
+uint numAttributes;
+RigidBody2D otherBody;
+Vector2 otherBodyAnchor;
+/* readonly */
+RigidBody2D ownerBody;
+Vector2 ownerBodyAnchor;
+/* readonly */
+int refs;
+bool temporary;
+/* readonly */
+ShortStringHash type;
+/* readonly */
+String typeName;
+/* readonly */
+int weakRefs;
+};
+
 class Controls
 class Controls
 {
 {
 // Methods:
 // Methods:

+ 62 - 0
Docs/LuaScriptAPI.dox

@@ -977,6 +977,68 @@ Properties:
 - float CFM
 - float CFM
 - bool disableCollision
 - bool disableCollision
 
 
+### Constraint2D : Component
+
+Methods:
+
+- void SetOtherBody(RigidBody2D* body)
+- void SetCollideConnected(bool collideConnected)
+- RigidBody2D* GetOwnerBody() const
+- RigidBody2D* GetOtherBody() const
+- bool GetCollideConnected() const
+
+Properties:
+
+- RigidBody2D* ownerBody (readonly)
+- RigidBody2D* otherBody
+- bool collideConnected
+
+### ConstraintRevolute2D : Constraint2D
+
+Methods:
+
+- void SetAnchorPoint(const Vector2& anchor)
+- void SetEnableLimit(bool enableLimit)
+- void SetLowerAngle(float lowerAngle)
+- void SetUpperAngle(float upperAngle)
+- void SetEnableMotor(bool enableMotor)
+- void SetMotorSpeed(float motorSpeed)
+- void SetMaxMotorTorque(float maxMotorTorque)
+- const Vector2& GetAnchorPoint() const
+- bool GetEnableLimit() const
+- float GetLowerAngle() const
+- float GetUpperAngle() const
+- bool GetEnableMotor() const
+- float GetMotorSpeed() const
+- float GetMaxMotorTorque() const
+
+Properties:
+
+- Vector2& anchorPoint
+- bool enableLimit
+- float lowerAngle
+- float upperAngle
+- bool enableMotor
+- float motorSpeed
+- float maxMotorTorque
+
+### ConstraintRope2D : Constraint2D
+
+Methods:
+
+- void SetOwnerBodyAnchor(const Vector2& anchor)
+- void SetOtherBodyAnchor(const Vector2& anchor)
+- void SetMaxLength(float maxLength)
+- const Vector2& GetOwnerBodyAnchor() const
+- const Vector2& GetOtherBodyAnchor() const
+- float GetMaxLength() const
+
+Properties:
+
+- Vector2& ownerBodyAnchor
+- Vector2& otherBodyAnchor
+- float maxLength
+
 ### Context
 ### Context
 
 
 
 

+ 133 - 0
Docs/ScriptAPI.dox

@@ -1572,6 +1572,139 @@ Properties:
 - Vector3 worldPosition
 - Vector3 worldPosition
 
 
 
 
+### Constraint2D
+
+Methods:
+
+- void ApplyAttributes()
+- void DrawDebugGeometry(DebugRenderer@, bool)
+- Variant GetAttribute(const String&) const
+- Variant GetAttributeDefault(const String&) const
+- bool Load(File@, bool = false)
+- bool LoadXML(const XMLElement&, bool = false)
+- void MarkNetworkUpdate() const
+- void Remove()
+- void RemoveInstanceDefault()
+- void ResetToDefault()
+- bool Save(File@) const
+- bool SaveXML(XMLElement&) const
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
+- bool SetAttribute(const String&, const Variant&)
+
+Properties:
+
+- Variant[] attributeDefaults // readonly
+- AttributeInfo[] attributeInfos // readonly
+- Variant[] attributes
+- ShortStringHash baseType // readonly
+- String category // readonly
+- bool collideConnected
+- bool enabled
+- bool enabledEffective // readonly
+- uint id // readonly
+- Node@ node // readonly
+- uint numAttributes // readonly
+- RigidBody2D@ otherBody
+- RigidBody2D@ ownerBody // readonly
+- int refs // readonly
+- bool temporary
+- ShortStringHash type // readonly
+- String typeName // readonly
+- int weakRefs // readonly
+
+
+### ConstraintRevolute2D
+
+Methods:
+
+- void ApplyAttributes()
+- void DrawDebugGeometry(DebugRenderer@, bool)
+- Variant GetAttribute(const String&) const
+- Variant GetAttributeDefault(const String&) const
+- bool Load(File@, bool = false)
+- bool LoadXML(const XMLElement&, bool = false)
+- void MarkNetworkUpdate() const
+- void Remove()
+- void RemoveInstanceDefault()
+- void ResetToDefault()
+- bool Save(File@) const
+- bool SaveXML(XMLElement&) const
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
+- bool SetAttribute(const String&, const Variant&)
+
+Properties:
+
+- Vector2 anchorPoint
+- Variant[] attributeDefaults // readonly
+- AttributeInfo[] attributeInfos // readonly
+- Variant[] attributes
+- ShortStringHash baseType // readonly
+- String category // readonly
+- bool collideConnected
+- bool enableLimit
+- bool enableMotor
+- bool enabled
+- bool enabledEffective // readonly
+- uint id // readonly
+- float lowerAngle
+- float maxMotorTorque
+- float motorSpeed
+- Node@ node // readonly
+- uint numAttributes // readonly
+- RigidBody2D@ otherBody
+- RigidBody2D@ ownerBody // readonly
+- int refs // readonly
+- bool temporary
+- ShortStringHash type // readonly
+- String typeName // readonly
+- float upperAngle
+- int weakRefs // readonly
+
+
+### ConstraintRope2D
+
+Methods:
+
+- void ApplyAttributes()
+- void DrawDebugGeometry(DebugRenderer@, bool)
+- Variant GetAttribute(const String&) const
+- Variant GetAttributeDefault(const String&) const
+- bool Load(File@, bool = false)
+- bool LoadXML(const XMLElement&, bool = false)
+- void MarkNetworkUpdate() const
+- void Remove()
+- void RemoveInstanceDefault()
+- void ResetToDefault()
+- bool Save(File@) const
+- bool SaveXML(XMLElement&) const
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
+- bool SetAttribute(const String&, const Variant&)
+
+Properties:
+
+- Variant[] attributeDefaults // readonly
+- AttributeInfo[] attributeInfos // readonly
+- Variant[] attributes
+- ShortStringHash baseType // readonly
+- String category // readonly
+- bool collideConnected
+- bool enabled
+- bool enabledEffective // readonly
+- uint id // readonly
+- float maxLength
+- Node@ node // readonly
+- uint numAttributes // readonly
+- RigidBody2D@ otherBody
+- Vector2 otherBodyAnchor
+- RigidBody2D@ ownerBody // readonly
+- Vector2 ownerBodyAnchor
+- int refs // readonly
+- bool temporary
+- ShortStringHash type // readonly
+- String typeName // readonly
+- int weakRefs // readonly
+
+
 ### Controls
 ### Controls
 
 
 Methods:
 Methods: