unreal.MovieGraphModifierNode¶
- class unreal.MovieGraphModifierNode(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MovieGraphSettingNodeA collection node specifies an interface for doing dynamic scene queries for actors in the world. Collections work in tandem with UMovieGraphModifiers to select which actors the modifiers should be run on.
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¶
Add 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_collections() Array[Name]¶
Gets all collections that will be affected by the modifiers on this node.
- 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]¶
Gets all modifiers currently added to the node.
- 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¶
Remove 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.