ConstraintPulley2D.pkg 849 B

12345678910111213141516171819202122
  1. $#include "Urho2D/ConstraintPulley2D.h"
  2. class ConstraintPulley2D : Constraint2D
  3. {
  4. void SetOwnerBodyGroundAnchor(const Vector2& groundAnchor);
  5. void SetOtherBodyGroundAnchor(const Vector2& groundAnchor);
  6. void SetOwnerBodyAnchor(const Vector2& anchor);
  7. void SetOtherBodyAnchor(const Vector2& anchor);
  8. void SetRatio(float ratio);
  9. const Vector2& GetOwnerBodyGroundAnchor() const;
  10. const Vector2& GetOtherBodyGroundAnchor() const;
  11. const Vector2& GetOwnerBodyAnchor() const;
  12. const Vector2& GetOtherBodyAnchor() const;
  13. float GetRatio() const;
  14. tolua_property__get_set Vector2& ownerBodyGroundAnchor;
  15. tolua_property__get_set Vector2& otherBodyGroundAnchor;
  16. tolua_property__get_set Vector2& ownerBodyAnchor;
  17. tolua_property__get_set Vector2& otherBodyAnchor;
  18. tolua_property__get_set float ratio;
  19. };