mirror of
https://github.com/Relintai/ui_extensions.git
synced 2024-11-14 10:27:48 +01:00
27 lines
425 B
C++
27 lines
425 B
C++
#ifndef MESH_DATA_REOURCE_H
|
|
#define MESH_DATA_REOURCE_H
|
|
|
|
#include "core/resource.h"
|
|
#include "core/array.h"
|
|
#include "scene/resources/mesh.h"
|
|
|
|
class MeshDataResource : public Resource {
|
|
|
|
GDCLASS(MeshDataResource, Resource);
|
|
RES_BASE_EXTENSION("mdres");
|
|
|
|
public:
|
|
Array get_array();
|
|
void set_array(const Array &p_arrays);
|
|
|
|
MeshDataResource();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
private:
|
|
Array _arrays;
|
|
};
|
|
|
|
#endif
|