unreal.MovieGraphCollection¶
- class unreal.MovieGraphCollection(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectA group of actors generated by actor queries.
C++ Source:
Plugin: MovieRenderPipeline
Module: MovieRenderPipelineCore
File: MovieGraphRenderLayerSubsystem.h
Editor Properties: (see get_editor_property/set_editor_property)
collection_name(str): [Read-Write] The display name of the collection, shown in the UI. Does not need to be unique across collections.condition_groups(Array[MovieGraphConditionGroup]): [Read-Write] The condition groups that are contained within the collection.
- add_condition_group() MovieGraphConditionGroup¶
Adds a new condition group to the collection and returns a ptr to it. The collection owns the created condition group.
- Return type:
- evaluate_actors_and_components(world) MovieGraphEvaluationResult¶
Gets matching actors and components by having condition groups evaluate themselves, and performing set operations on the condition group results (eg, union’ing condition group A and B).
- Parameters:
world (World)
- Return type:
- get_condition_groups() Array[MovieGraphConditionGroup]¶
Gets all condition groups currently contained in the collection.
- Return type:
- move_condition_group_to_index(condition_group, new_index) bool¶
Move the specified condition group to a new index within the collection. Returns false if the condition group was not found or the index specified is invalid, else true.
- Parameters:
condition_group (MovieGraphConditionGroup)
new_index (int32)
- Return type:
- remove_condition_group(condition_group) bool¶
Removes the specified condition group from the collection if it exists. Returns true on success, else false. Removes all child queries that belong to this group at the same time.
- Parameters:
condition_group (MovieGraphConditionGroup)
- Return type: