unreal.TypedElementRegistry

class unreal.TypedElementRegistry(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: Object

Registry of element types and their associated interfaces, along with the elements that represent their instances.

C++ Source:

  • Module: TypedElementFramework

  • File: TypedElementRegistry.h

create_element_list() TypedElementList

Create an empty list of elements associated with the given registry.

Return type:

TypedElementList

classmethod get_default_typed_element_registry() TypedElementRegistry

Get the singleton instance of the registry used in most cases.

Return type:

TypedElementRegistry

get_element_interface(element_handle, base_interface_type) Object

Get the element interface supported by the given handle, or null if there is no support for this interface or if the handle is invalid.

Parameters:
Return type:

Object