Fix enums bindings
Add missed bindings for enums Move some enums to class to have correct output of api.json
This commit is contained in:
parent
69017974be
commit
0fffa45158
62 changed files with 412 additions and 210 deletions
|
|
@ -443,6 +443,13 @@ void Light2D::_bind_methods() {
|
|||
BIND_ENUM_CONSTANT(MODE_SUB);
|
||||
BIND_ENUM_CONSTANT(MODE_MIX);
|
||||
BIND_ENUM_CONSTANT(MODE_MASK);
|
||||
|
||||
BIND_ENUM_CONSTANT(SHADOW_FILTER_NONE);
|
||||
BIND_ENUM_CONSTANT(SHADOW_FILTER_PCF3);
|
||||
BIND_ENUM_CONSTANT(SHADOW_FILTER_PCF5);
|
||||
BIND_ENUM_CONSTANT(SHADOW_FILTER_PCF7);
|
||||
BIND_ENUM_CONSTANT(SHADOW_FILTER_PCF9);
|
||||
BIND_ENUM_CONSTANT(SHADOW_FILTER_PCF13);
|
||||
}
|
||||
|
||||
Light2D::Light2D() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue