ClassDB Methods |
The ClassDB type exposes the following members.
Name | Description | |
---|---|---|
CanInstance | Returns true if you can instance objects from the specified class, false in other case. | |
ClassExists | Returns whether the specified class is available or not. | |
ClassGetCategory | Returns a category associated with the class for use in documentation and the Asset Library. Debug mode required. | |
ClassGetIntegerConstant | Returns the value of the integer constant name of class or its ancestry. Always returns 0 when the constant could not be found. | |
ClassGetIntegerConstantList | Returns an array with the names all the integer constants of class or its ancestry. | |
ClassGetMethodList | Returns an array with all the methods of class or its ancestry if no_inheritance is false. Every element of the array is a Dictionary with the following keys: args, default_args, flags, id, name, return: (class_name, hint, hint_string, name, type, usage). Note: In exported release builds the debug info is not available, so the returned dictionaries will contain only method names. | |
ClassGetProperty | Returns the value of property of class or its ancestry. | |
ClassGetPropertyList | Returns an array with all the properties of class or its ancestry if no_inheritance is false. | |
ClassGetSignal | Returns the signal data of class or its ancestry. The returned value is a Dictionary with the following keys: args, default_args, flags, id, name, return: (class_name, hint, hint_string, name, type, usage). | |
ClassGetSignalList | Returns an array with all the signals of class or its ancestry if no_inheritance is false. Every element of the array is a Dictionary as described in ClassGetSignal(String, String). | |
ClassHasIntegerConstant | Returns whether class or its ancestry has an integer constant called name or not. | |
ClassHasMethod | Returns whether class (or its ancestry if no_inheritance is false) has a method called method or not. | |
ClassHasSignal | Returns whether class or its ancestry has a signal called signal or not. | |
ClassSetProperty | Sets property value of class to value. | |
GetClassList | Returns the names of all the classes available. | |
GetInheritersFromClass | Returns the names of all the classes that directly or indirectly inherit from class. | |
GetParentClass | Returns the parent class of class. | |
Instance | Creates an instance of class. | |
IsClassEnabled | Returns whether this class is enabled or not. | |
IsParentClass | Returns whether inherits is an ancestor of class or not. |