1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- #ifndef ROOM_INSTANCE_H
- #define ROOM_INSTANCE_H
- #include "scene/3d/visual_instance.h"
- #include "scene/resources/room.h"
- #if 0
- class Room : public VisualInstance {
- GDCLASS(Room, VisualInstance);
- public:
- private:
- Ref<RoomBounds> room;
- int level;
- void _parse_node_faces(PoolVector<Face3> &all_faces, const Node *p_node) const;
- void _bounds_changed();
- protected:
- void _notification(int p_what);
- static void _bind_methods();
- public:
- enum {
-
- NOTIFICATION_AREA_CHANGED = 60
- };
- virtual AABB get_aabb() const;
- virtual PoolVector<Face3> get_faces(uint32_t p_usage_flags) const;
- void set_room(const Ref<RoomBounds> &p_room);
- Ref<RoomBounds> get_room() const;
- Room();
- ~Room();
- };
- #endif
- #endif
|