unreal.TypedElementHierarchyInterface

class unreal.TypedElementHierarchyInterface(outer=None, name='None')

Bases: unreal.Interface

Typed Element Hierarchy Interface

C++ Source:

  • Module: TypedElementRuntime

  • File: TypedElementHierarchyInterface.h

get_child_elements(element_handle, allow_create=True)

Get the logical children of this element, if any. eg) An actor might return its component, or an ISM component might return its static mesh instances. note: Appends to OutElementHandles.

Parameters
Returns

out_element_handles (Array(ScriptTypedElementHandle)):

Return type

Array(ScriptTypedElementHandle)

get_parent_element(element_handle, allow_create=True) ScriptTypedElementHandle

Get the logical parent of this element, if any. eg) A component might return its actor, or a static mesh instance might return its ISM component.

Parameters
Return type

ScriptTypedElementHandle