Browse Source

Travis CI: API documentation update at 2014-03-17 05:44:48 UTC.
[ci package]

urho3d-travis-ci 11 years ago
parent
commit
7c96c13fd0
3 changed files with 47 additions and 1 deletions
  1. 14 0
      Docs/AngelScriptAPI.h
  2. 20 1
      Docs/LuaScriptAPI.dox
  3. 13 0
      Docs/ScriptAPI.dox

+ 14 - 0
Docs/AngelScriptAPI.h

@@ -4954,6 +4954,17 @@ Vector3 normal;
 Vector3 position;
 Vector3 position;
 };
 };
 
 
+class PhysicsRaycastResult2D
+{
+
+// Properties:
+/* readonly */
+RigidBody2D body;
+float distance;
+Vector2 normal;
+Vector2 position;
+};
+
 class PhysicsWorld
 class PhysicsWorld
 {
 {
 // Methods:
 // Methods:
@@ -5026,9 +5037,12 @@ void DrawDebugGeometry() const;
 void DrawDebugGeometry(DebugRenderer, bool);
 void DrawDebugGeometry(DebugRenderer, bool);
 Variant GetAttribute(const String&) const;
 Variant GetAttribute(const String&) const;
 Variant GetAttributeDefault(const String&) const;
 Variant GetAttributeDefault(const String&) const;
+Array<RigidBody2D> GetRigidBodies(const Rect&, uint = 0xffff);
 bool Load(File, bool = false);
 bool Load(File, bool = false);
 bool LoadXML(const XMLElement&, bool = false);
 bool LoadXML(const XMLElement&, bool = false);
 void MarkNetworkUpdate() const;
 void MarkNetworkUpdate() const;
+Array<PhysicsRaycastResult2D> Raycast(const Vector2&, const Vector2&, uint = 0xffff);
+PhysicsRaycastResult2D RaycastSingle(const Vector2&, const Vector2&, uint = 0xffff);
 void Remove();
 void Remove();
 void RemoveInstanceDefault();
 void RemoveInstanceDefault();
 void ResetToDefault();
 void ResetToDefault();

+ 20 - 1
Docs/LuaScriptAPI.dox

@@ -2865,6 +2865,22 @@ Properties:
 - float distance
 - float distance
 - RigidBody* body
 - RigidBody* body
 
 
+### PhysicsRaycastResult2D
+
+
+Methods:
+
+- PhysicsRaycastResult2D() (GC)
+- PhysicsRaycastResult2D* new()
+- void delete()
+
+Properties:
+
+- Vector2 position
+- Vector2 normal
+- float distance
+- RigidBody2D* body
+
 ### PhysicsWorld : Component
 ### PhysicsWorld : Component
 
 
 Methods:
 Methods:
@@ -2909,6 +2925,7 @@ Properties:
 
 
 Methods:
 Methods:
 
 
+- void DrawDebugGeometry()
 - void SetDrawShape(bool drawShape)
 - void SetDrawShape(bool drawShape)
 - void SetDrawJoint(bool drawJoint)
 - void SetDrawJoint(bool drawJoint)
 - void SetDrawAabb(bool drawAabb)
 - void SetDrawAabb(bool drawAabb)
@@ -2922,7 +2939,9 @@ Methods:
 - void SetAutoClearForces(bool enable)
 - void SetAutoClearForces(bool enable)
 - void SetVelocityIterations(int velocityIterations)
 - void SetVelocityIterations(int velocityIterations)
 - void SetPositionIterations(int positionIterations)
 - void SetPositionIterations(int positionIterations)
-- void DrawDebugGeometry()
+- const PODVector<PhysicsRaycastResult2D>& Raycast(const Vector2& startPoint, const Vector2& endPoint, unsigned collisionMask = M_MAX_UNSIGNED)
+- PhysicsRaycastResult2D RaycastSingle(const Vector2& startPoint, const Vector2& endPoint, unsigned collisionMask = M_MAX_UNSIGNED)
+- const PODVector<RigidBody2D*>& GetRigidBodies(const Rect& aabb, unsigned collisionMask = M_MAX_UNSIGNED)
 - bool GetDrawShape() const
 - bool GetDrawShape() const
 - bool GetDrawJoint() const
 - bool GetDrawJoint() const
 - bool GetDrawAabb() const
 - bool GetDrawAabb() const

+ 13 - 0
Docs/ScriptAPI.dox

@@ -4113,6 +4113,16 @@ Properties:
 - Vector3 position
 - Vector3 position
 
 
 
 
+### PhysicsRaycastResult2D
+
+Properties:
+
+- RigidBody2D@ body // readonly
+- float distance
+- Vector2 normal
+- Vector2 position
+
+
 ### PhysicsWorld
 ### PhysicsWorld
 
 
 Methods:
 Methods:
@@ -4176,9 +4186,12 @@ Methods:
 - void DrawDebugGeometry(DebugRenderer@, bool)
 - void DrawDebugGeometry(DebugRenderer@, bool)
 - Variant GetAttribute(const String&) const
 - Variant GetAttribute(const String&) const
 - Variant GetAttributeDefault(const String&) const
 - Variant GetAttributeDefault(const String&) const
+- RigidBody2D@[]@ GetRigidBodies(const Rect&, uint = 0xffff)
 - bool Load(File@, bool = false)
 - bool Load(File@, bool = false)
 - bool LoadXML(const XMLElement&, bool = false)
 - bool LoadXML(const XMLElement&, bool = false)
 - void MarkNetworkUpdate() const
 - void MarkNetworkUpdate() const
+- PhysicsRaycastResult2D[]@ Raycast(const Vector2&, const Vector2&, uint = 0xffff)
+- PhysicsRaycastResult2D RaycastSingle(const Vector2&, const Vector2&, uint = 0xffff)
 - void Remove()
 - void Remove()
 - void RemoveInstanceDefault()
 - void RemoveInstanceDefault()
 - void ResetToDefault()
 - void ResetToDefault()