ClassDB: Provide the enum name of integer constants
This commit is contained in:
parent
f6c39830cb
commit
32dd9a9f66
107 changed files with 2059 additions and 1894 deletions
|
|
@ -281,10 +281,10 @@ void PathFollow::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("set_loop", "loop"), &PathFollow::set_loop);
|
||||
ClassDB::bind_method(D_METHOD("has_loop"), &PathFollow::has_loop);
|
||||
|
||||
BIND_CONSTANT(ROTATION_NONE);
|
||||
BIND_CONSTANT(ROTATION_Y);
|
||||
BIND_CONSTANT(ROTATION_XY);
|
||||
BIND_CONSTANT(ROTATION_XYZ);
|
||||
BIND_ENUM_CONSTANT(ROTATION_NONE);
|
||||
BIND_ENUM_CONSTANT(ROTATION_Y);
|
||||
BIND_ENUM_CONSTANT(ROTATION_XY);
|
||||
BIND_ENUM_CONSTANT(ROTATION_XYZ);
|
||||
}
|
||||
|
||||
void PathFollow::set_offset(float p_offset) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue