unreal.MovieSceneFolderExtensions
¶
- class unreal.MovieSceneFolderExtensions(outer=None, name='None')¶
Bases:
unreal.BlueprintFunctionLibrary
Function library containing methods that should be hoisted onto UMovieSceneFolders for scripting
C++ Source:
Plugin: SequencerScripting
Module: SequencerScripting
File: MovieSceneFolderExtensions.h
- classmethod add_child_folder(target_folder, folder_to_add) → bool¶
Add a child folder to the target folder
- Parameters
target_folder (MovieSceneFolder) – The folder to add a child folder to
folder_to_add (MovieSceneFolder) – The child folder to be added
- Returns
True if the addition is successful
- Return type
- classmethod add_child_master_track(folder, master_track) → bool¶
Add a master track to this folder
- Parameters
folder (MovieSceneFolder) – The folder to add a child master track to
master_track (MovieSceneTrack) – The master track to add to the folder
- Returns
True if the addition is successful
- Return type
- classmethod add_child_object_binding(folder, object_binding) → bool¶
Add a guid for an object binding to this folder
- Parameters
folder (MovieSceneFolder) – The folder to add a child object to
object_binding (SequencerBindingProxy) – The binding to add to the folder
- Returns
True if the addition is successful
- Return type
- classmethod get_child_folders(folder)¶
Get the child folders of a given folder
- Parameters
folder (MovieSceneFolder) – The folder to get the child folders of
- Returns
The child folders associated with the given folder
- Return type
- classmethod get_child_master_tracks(folder)¶
Get the master tracks contained by this folder
- Parameters
folder (MovieSceneFolder) – The folder to get the master tracks of
- Returns
The master tracks under the given folder
- Return type
- classmethod get_child_object_bindings(folder)¶
Get the object bindings contained by this folder
- Parameters
folder (MovieSceneFolder) – The folder to get the bindings of
- Returns
The object bindings under the given folder
- Return type
- classmethod get_folder_color(folder) → Color¶
Get the display color of the given folder
- Parameters
folder (MovieSceneFolder) – The folder to get the display color of
- Returns
The display color of the given folder
- Return type
- classmethod get_folder_name(folder) → Name¶
Get the given folder’s display name
- Parameters
folder (MovieSceneFolder) – The folder to use
- Returns
The target folder’s name
- Return type
- classmethod remove_child_folder(target_folder, folder_to_remove) → bool¶
Remove a child folder from the given folder
- Parameters
target_folder (MovieSceneFolder) – The folder from which to remove a child folder
folder_to_remove (MovieSceneFolder) – The child folder to be removed
- Returns
True if the removal succeeds
- Return type
- classmethod remove_child_master_track(folder, master_track) → bool¶
Remove a master track from the given folder
- Parameters
folder (MovieSceneFolder) – The folder from which to remove a track
master_track (MovieSceneTrack) – The track to remove
- Returns
True if the removal succeeds
- Return type
- classmethod remove_child_object_binding(folder, object_binding) → bool¶
Remove an object binding from the given folder
- Parameters
folder (MovieSceneFolder) – The folder from which to remove an object binding
object_binding (SequencerBindingProxy) – The object binding to remove
- Returns
True if the operation succeeds
- Return type
- classmethod set_folder_color(folder, folder_color) → bool¶
Set the display color of the given folder
- Parameters
folder (MovieSceneFolder) – The folder to set the display color of
folder_color (Color) – The new display color for the folder
- Returns
True if the folder’s display color is set successfully
- Return type
- classmethod set_folder_name(folder, folder_name) → bool¶
Set the name of the given folder
- Parameters
folder (MovieSceneFolder) – The folder to set the name of
folder_name (Name) – The new name for the folder
- Returns
True if the setting of the folder name succeeds
- Return type