mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-21 16:37:20 +01:00
Bind enum values.
This commit is contained in:
parent
fe9d89d6ec
commit
6c0cb3dc52
@ -1,5 +1,6 @@
|
||||
|
||||
#include "procedural_tree_mesh.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/object.h"
|
||||
|
||||
#include "servers/rendering_server.h"
|
||||
@ -232,4 +233,8 @@ void ProceduralTreeMesh::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "twig_material", PROPERTY_HINT_RESOURCE_TYPE, "SpatialMaterial,ShaderMaterial"), "set_twig_material", "get_twig_material");
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::AABB, "custom_aabb", PROPERTY_HINT_NONE, ""), "set_custom_aabb", "get_custom_aabb");
|
||||
|
||||
BIND_ENUM_CONSTANT(TREE_SURFACE_TRUNK);
|
||||
BIND_ENUM_CONSTANT(TREE_SURFACE_TWIG);
|
||||
BIND_ENUM_CONSTANT(TREE_SURFACE_COUNT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user