2019-09-21 00:02:10 +02:00
|
|
|
#include "voxelman_prop_entry.h"
|
2019-07-19 18:39:46 +02:00
|
|
|
|
2019-09-22 02:46:21 +02:00
|
|
|
Transform VoxelmanPropEntry::get_transform() const {
|
|
|
|
return _transform;
|
2019-07-19 18:39:46 +02:00
|
|
|
}
|
2019-09-22 02:46:21 +02:00
|
|
|
void VoxelmanPropEntry::set_transform(const Transform value) {
|
|
|
|
_transform = value;
|
2019-07-19 18:39:46 +02:00
|
|
|
}
|
|
|
|
|
2019-09-21 00:02:10 +02:00
|
|
|
VoxelmanPropEntry::VoxelmanPropEntry() {
|
2019-07-19 18:39:46 +02:00
|
|
|
|
|
|
|
}
|
2019-09-21 00:02:10 +02:00
|
|
|
VoxelmanPropEntry::~VoxelmanPropEntry() {
|
2019-07-19 18:39:46 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-09-21 00:02:10 +02:00
|
|
|
void VoxelmanPropEntry::_bind_methods() {
|
2019-09-22 02:46:21 +02:00
|
|
|
ClassDB::bind_method(D_METHOD("get_transform"), &VoxelmanPropEntry::get_transform);
|
|
|
|
ClassDB::bind_method(D_METHOD("set_transform", "value"), &VoxelmanPropEntry::set_transform);
|
|
|
|
ADD_PROPERTY(PropertyInfo(Variant::TRANSFORM, "transform"), "set_transform", "get_transform");
|
2019-07-19 18:39:46 +02:00
|
|
|
}
|