#ifndef VOXELMAN_PROP_DATA_H #define VOXELMAN_PROP_DATA_H #include "core/reference.h" #include "core/math/vector3.h" #include "core/color.h" #include "scene/resources/packed_scene.h" #include "../../entity_spell_system/meshes/mesh_data_resource.h" class VoxelmanProp; class VoxelmanPropData : public Resource { GDCLASS(VoxelmanPropData, Resource); public: Ref get_mesh() const; void set_mesh(const Ref mesh); int get_has_light() const; void set_has_light(const int value); Color get_light_color() const; void set_light_color(const Color value); int get_light_size() const; void set_light_size(const int value); Ref get_scene() const; void set_scene(const Ref value); Vector3 get_position() const; void set_position(const Vector3 value); Vector3 get_rotation() const; void set_rotation(const Vector3 value); Vector3 get_scale() const; void set_scale(const Vector3 value); Ref get_prop() const; void set_prop(const Ref prop); VoxelmanPropData(); ~VoxelmanPropData(); protected: static void _bind_methods(); private: Ref _mesh; bool _has_light; Color _light_color; int _light_size; Ref _scene; Ref _prop; Vector3 _position; Vector3 _rotation; Vector3 _scale; }; #endif