unreal.ModifierBoundWidgetStylesAsset

class unreal.ModifierBoundWidgetStylesAsset(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

An asset intended to be referenced by Slate widgets.

For example, you can retrieve custom style info assigned to a modifier and / or its connections, such as what icon a button representing that widget should have.

C++ Source:

  • Plugin: VirtualCamera

  • Module: VCamExtensions

  • File: ModifierBoundWidgetStylesAsset.h

Editor Properties: (see get_editor_property/set_editor_property)

  • rules (ModifierBoundWidgetStyleDefinitions): [Read-Write]

get_style_for_connection_point_by_class(modifier, connection_point, class_) WidgetStyleData

Get Style for Connection Point by Class

Parameters:
Return type:

WidgetStyleData

get_style_for_modifier_by_class(modifier, class_) WidgetStyleData

Get Style for Modifier by Class

Parameters:
Return type:

WidgetStyleData

get_style_for_name_by_class(name, class_) WidgetStyleData

Get Style for Name by Class

Parameters:
Return type:

WidgetStyleData

get_styles_for_connection_point(modifier, connection_point) Array[WidgetStyleData]

Retrieves all meta data that is associated for a given modifier and a sub-category name.

Parameters:
Return type:

Array[WidgetStyleData]

get_styles_for_modifier(modifier) Array[WidgetStyleData]

Retrieves all meta data that is associated for a given modifier.

Parameters:

modifier (VCamModifier) –

Return type:

Array[WidgetStyleData]

get_styles_for_name(category='Virtual Camera') Array[WidgetStyleData]

Retrieves all meta data that is associated with a given a category name; this data is not associated with any kind of modifier.

Parameters:

category (Name) –

Return type:

Array[WidgetStyleData]

property rules: ModifierBoundWidgetStyleDefinitions

[Read-Only]

Type:

(ModifierBoundWidgetStyleDefinitions)