unreal.MovieGraphModifierNode¶
- class unreal.MovieGraphModifierNode(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MovieGraphSettingNodeA modifier node which allows render properties and materials to be changed.
C++ Source:
Plugin: MovieRenderPipeline
Module: MovieRenderPipelineCore
File: MovieGraphModifierNode.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).modifier_name(str): [Read-Write] The name of this modifier.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)
- add_modifier(modifier_type) MovieGraphCollectionModifier¶
Adds a new modifier of the specified type. Returns a pointer to the new modifier, or nullptr if a modifier of the specified type already exists on this node (only one modifier of each type can be added to the node).
- Parameters:
- Return type:
- get_all_collections() Array[Name]¶
Gets all collections that will be affected by the modifiers used by this node.
- get_all_modifiers() Array[MovieGraphModifierBase]¶
Gets all modifiers that will be applied with this modifier node.
- Return type:
- get_modifier(modifier_type) MovieGraphCollectionModifier¶
Gets the modifier of the specified type, or nullptr if one does not exist on this node.
- Parameters:
- Return type:
- get_modifiers() Array[MovieGraphCollectionModifier]¶
Get Modifiers
- Return type:
- is_collection_enabled(collection_name) bool¶
Gets the enable state (within this modifier) of the collection with the given name.
- 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.
- remove_modifier(modifier_type) bool¶
Removes the modifier of the specified type. Returns true on success, or false if a modifier of the specified type does not exist on the node.