unreal.MovieGraphMaterialParameterCollectionModifierNode

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

Bases: MovieGraphSettingNode

A node which modifies the scalar and vector parameters of a Material Parameter Collection.

C++ Source:

  • Plugin: MovieRenderPipeline

  • Module: MovieRenderPipelineCore

  • File: MovieGraphMaterialParameterCollectionModifierNode.h

Editor Properties: (see get_editor_property/set_editor_property)

  • dynamic_properties (InstancedPropertyBag): [Read-Write] Properties which can be dynamically declared on the node (vs. native properties which are always present).

  • material_parameter_collection (MaterialParameterCollection): [Read-Write] The Material Parameter Collection that should be modified.

  • override_material_parameter_collection (bool): [Read-Write]

  • script_tags (Array[str]): [Read-Write] Tags that can be used to identify this node within a pre/post render script. Tags can be unique in order to identify this specific node, or the same tag can be applied to multiple nodes in order to identify a grouping of nodes.

add_collection(collection_name) None

Adds a collection identified by the given name which will be affected by the modifiers on this node.

Parameters:

collection_name (Name)

get_all_collections() Array[Name]

Gets all collections that will be affected by the modifiers used by this node.

Return type:

Array[Name]

get_all_modifiers() Array[MovieGraphModifierBase]

Gets all modifiers that will be applied with this modifier node.

Return type:

Array[MovieGraphModifierBase]

is_collection_enabled(collection_name) bool

Gets the enable state (within this modifier) of the collection with the given name.

Parameters:

collection_name (Name)

Return type:

bool

property material_parameter_collection: MaterialParameterCollection

[Read-Write] The Material Parameter Collection that should be modified.

Type:

(MaterialParameterCollection)

property override_material_parameter_collection: bool

[Read-Write]

Type:

(bool)

remove_collection(collection_name) bool

Removes a collection identified by the given name. Returns true if the collection was found and removed successfully, else false.

Parameters:

collection_name (Name)

Return type:

bool

set_collection_enabled(collection_name, is_collection_enabled) None

Sets the enable state (within this modifier) of the collection with the given name. Disabled collections will not be modified by this modifier node. Collections that are added to the modifier are enabled by default.

Parameters:
  • collection_name (Name)

  • is_collection_enabled (bool)

supports_collections() bool

Gets whether this modifier node supports/uses collections.

Return type:

bool