godot_voxel/terrain/instancing/voxel_instance_library_scene_item.h

25 lines
572 B
C
Raw Normal View History

#ifndef VOXEL_INSTANCE_LIBRARY_SCENE_ITEM_H
#define VOXEL_INSTANCE_LIBRARY_SCENE_ITEM_H
#include "voxel_instance_library_item.h"
#include <scene/resources/packed_scene.h>
2022-01-09 22:13:10 +00:00
namespace zylann::voxel {
class VoxelInstanceLibrarySceneItem : public VoxelInstanceLibraryItem {
GDCLASS(VoxelInstanceLibrarySceneItem, VoxelInstanceLibraryItem)
public:
void set_scene(Ref<PackedScene> scene);
Ref<PackedScene> get_scene() const;
private:
static void _bind_methods();
Ref<PackedScene> _scene;
};
2022-01-09 22:13:10 +00:00
} // namespace zylann::voxel
#endif // VOXEL_INSTANCE_LIBRARY_SCENE_ITEM_H