ConstraintDistance2D.pkg 757 B

12345678910111213141516171819202122
  1. $#include "Urho2D/ConstraintDistance2D.h"
  2. class ConstraintDistance2D : Constraint2D
  3. {
  4. void SetOwnerBodyAnchor(const Vector2& anchor);
  5. void SetOtherBodyAnchor(const Vector2& anchor);
  6. void SetFrequencyHz(float frequencyHz);
  7. void SetDampingRatio(float dampingRatio);
  8. void SetLength(float length);
  9. const Vector2& GetOwnerBodyAnchor() const;
  10. const Vector2& GetOtherBodyAnchor() const;
  11. float GetFrequencyHz() const;
  12. float GetDampingRatio() const;
  13. float GetLength() const;
  14. tolua_property__get_set Vector2& ownerBodyAnchor;
  15. tolua_property__get_set Vector2& otherBodyAnchor;
  16. tolua_property__get_set float frequencyHz;
  17. tolua_property__get_set float dampingRatio;
  18. tolua_property__get_set float length;
  19. };