unreal.UMGUIComponentInfo

class unreal.UMGUIComponentInfo(component: UIComponent = Ellipsis, component_class_path: SoftClassPath = Ellipsis)

Bases: StructBase

Info for a single UI component attached to a widget instance.

C++ Source:

  • Plugin: UMGToolSet

  • Module: UMGToolSet

  • File: UMGToolSet.h

Editor Properties: (see get_editor_property/set_editor_property)

  • component (UIComponent): [Read-Write] The component archetype instance. Use ObjectTools to read/write its properties.
    1. ObjectTools.list_properties(Component) -> get exact property names

    2. ObjectTools.get_properties(Component, [names]) -> read current values

    3. ObjectTools.set_properties(Component, {name: value}) -> write values

  • component_class_path (SoftClassPath): [Read-Write] Class path for this component. Pass directly to AddUIComponent, RemoveUIComponent, or MoveUIComponent as ComponentClass.

property component: UIComponent

[Read-Only] The component archetype instance. Use ObjectTools to read/write its properties. 1. ObjectTools.list_properties(Component) -> get exact property names 2. ObjectTools.get_properties(Component, [names]) -> read current values 3. ObjectTools.set_properties(Component, {name: value}) -> write values

Type:

(UIComponent)

property component_class_path: SoftClassPath

[Read-Only] Class path for this component. Pass directly to AddUIComponent, RemoveUIComponent, or MoveUIComponent as ComponentClass.

Type:

(SoftClassPath)