1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #include "bounds.h"
- void Bounds::_bind_methods() {
- ClassDB::bind_method(D_METHOD("set_bsp_tree", "bsp_tree"), &Bounds::set_bsp_tree);
- ClassDB::bind_method(D_METHOD("get_bsp_tree"), &Bounds::get_bsp_tree);
- ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "bsp_tree"), "set_bsp_tree", "get_bsp_tree");
- }
- void Bounds::set_bsp_tree(const BSP_Tree &p_bsp_tree) {
- bsp_tree = p_bsp_tree;
- }
- BSP_Tree Bounds::get_bsp_tree() const {
- return bsp_tree;
- }
- Bounds::Bounds() {
- }
|