Navigable.pkg 531 B

1234567891011121314
  1. $#include "Navigable.h"
  2. /// Component which tags geometry for inclusion in the navigation mesh. Optionally auto-includes geometry from child nodes.
  3. class Navigable : public Component
  4. {
  5. public:
  6. /// Set whether geometry is automatically collected from child nodes. Default true.
  7. void SetRecursive(bool enable);
  8. /// Return whether geometry is automatically collected from child nodes.
  9. bool IsRecursive() const { return recursive_; }
  10. // Properties:
  11. tolua_property__is_set bool recursive;
  12. };