unreal.MovieGraphPropertyModifier

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

Bases: MovieGraphCollectionModifier

Modifies properties on specific actor or component type(s).

The properties that should be modified are added via MovieGraphPropertyReference objects via AddProperties(). Note that the properties are matched to their EXACT AActor and/or UActorComponent class within the property reference (ie, subclass checks are not made).

C++ Source:

  • Plugin: MovieRenderPipeline

  • Module: MovieRenderPipelineCore

  • File: MovieGraphClassPropertyModifier.h

add_properties(properties) None

Adds the properties which should be modified.

The property reference can: 1) Specify an actor without its component to modify an actor’s property. 2) Specify a component with an actor to modify that component’s property only on specific actor types. 3) Specify a component without an actor type to modify that component property on all actors it exists on.

Parameters:

properties (Array[MovieGraphPropertyReference])

get_properties_for_setting_values() MovieGraphFixedValueView

Gets a value view which allows property values to be set. Properties cannot be added/removed with this view.

Note that in order to modify a property value, you must use the property name provided by GetPropertyNameForSettingCustomValue().

Return type:

MovieGraphFixedValueView

classmethod get_property_name_for_setting_custom_value(property_reference) Name

Gets the property name that needs to be used with GetPropertiesForSettingValues() to set a “Custom” property value.

Parameters:

property_reference (MovieGraphPropertyReference)

Return type:

Name

classmethod make_property_reference(property_class, component_class, property_name) MovieGraphPropertyReference

Scripting helper that makes unreal.MovieGraphPropertyReference instances for use with this node. Little use outside of scripting. See FMovieGraphPropertyReference documentation for further details about the property reference.

Parameters:
Return type:

MovieGraphPropertyReference