ClassDB: Provide the enum name of integer constants

This commit is contained in:
Ignacio Etcheverry 2017-08-20 17:45:01 +02:00
parent f6c39830cb
commit 32dd9a9f66
107 changed files with 2059 additions and 1894 deletions

View file

@ -51,9 +51,9 @@ void ARVRInterface::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "primary"), "set_is_primary", "is_primary");
BIND_CONSTANT(EYE_MONO);
BIND_CONSTANT(EYE_LEFT);
BIND_CONSTANT(EYE_RIGHT);
BIND_ENUM_CONSTANT(EYE_MONO);
BIND_ENUM_CONSTANT(EYE_LEFT);
BIND_ENUM_CONSTANT(EYE_RIGHT);
};
StringName ARVRInterface::get_name() const {