OffMeshConnection.pkg 577 B

1234567891011121314151617181920
  1. $#include "OffMeshConnection.h"
  2. /// A link between otherwise unconnected regions of the navigation mesh.
  3. class OffMeshConnection : public Component
  4. {
  5. public:
  6. /// Set endpoint node.
  7. void SetEndPoint(Node* node);
  8. /// Set radius.
  9. void SetRadius(float radius);
  10. /// Set bidirectional flag. Default true.
  11. void SetBidirectional(bool enabled);
  12. /// Return endpoint node.
  13. Node* GetEndPoint() const;
  14. /// Return radius.
  15. float GetRadius() const;
  16. /// Return whether is bidirectional.
  17. bool IsBidirectional() const;
  18. };