unreal.AvaMaterialParameterModifier

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

Bases: ActorModifierArrangeBaseModifier

This modifier sets specified dynamic materials parameters on an actor and its children

C++ Source:

  • Plugin: Avalanche

  • Module: AvalancheModifiers

  • File: AvaMaterialParameterModifier.h

Editor Properties: (see get_editor_property/set_editor_property)

  • material_parameters (AvaMaterialParameterMap): [Read-Write] Which parameters should we set on the Material Designer Instance

  • modifier_enabled (bool): [Read-Write] Is the modifier enabled or disabled

  • update_children (bool): [Read-Write] Will also look into attached children actors

get_material_parameters() AvaMaterialParameterMap

Get Material Parameters

Return type:

AvaMaterialParameterMap

get_update_children() bool

Get Update Children

Return type:

bool

set_material_parameters(parameter_map) None

Set Material Parameters

Parameters:

parameter_map (AvaMaterialParameterMap)

set_update_children(update_children) None

Set Update Children

Parameters:

update_children (bool)