unreal.CineAssembly¶
- class unreal.CineAssembly(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
LevelSequenceA cinematic building block that associates a level sequence with a level
C++ Source:
Plugin: CinematicAssemblyTools
Module: CineAssemblyTools
File: CineAssembly.h
Editor Properties: (see get_editor_property/set_editor_property)
asset_user_data(Array[AssetUserData]): [Read-Write] Array of user data stored with the assetinstance_metadata(Map[Name, str]): [Read-Write] User added metadata key/value pairs, which will be added as additional asset registry tagsis_data_only(bool): [Read-Write] Mark this CineAssembly as Data-Only. When Data-Only, opening a CineAssembly opens only it’s details.level(SoftObjectPath): [Read-Write] The level to open before opening this asset in Sequencerparent_assembly(SoftObjectPath): [Read-Write] Reference to another assembly asset that is the parent of this assemblyproduction(Guid): [Read-Write] The ID of the Cinematic Production that this assembly is associated with
- append_to_note_text(note) None¶
Append to the note text associated with this assembly
- Parameters:
note (str)
- get_created_string() str¶
Gets the created date-time of this assembly as a localtime formatted string.
- Return type:
- get_date_created_string() str¶
Gets the date this assembly was created as a YYYY-MM-DD string.
- Return type:
- get_full_metadata_string() str¶
Get all of the metadata for this assembly as a formatted JSON string
- Return type:
- get_metadata_as_bool(key) bool or None¶
Get the metadata value for the input key as a boolean (if it exists)
- get_metadata_as_float(key) float or None¶
Get the metadata value for the input key as a floating-point number (if it exists)
- get_metadata_as_integer(key) int32 or None¶
Get the metadata value for the input key as an integer (if it exists)
- Parameters:
key (str)
- Returns:
out_value (int32):
- Return type:
int32 or None
- get_metadata_as_string(key) str or None¶
Get the metadata value for the input key as a string (if it exists)
- get_metadata_as_token_string(key) TemplateString or None¶
Get the metadata value for the input key as a token string (if it exists)
- Parameters:
key (str)
- Returns:
out_value (TemplateString):
- Return type:
TemplateString or None
- get_parent_assembly() CineAssembly¶
Get the parent assembly of this assembly
- Return type:
- get_time_created_string() str¶
Gets the 24-hour time of day this assembly was created as a HH:MM:SS string.
- Return type:
- property is_data_only: bool¶
[Read-Write] Mark this CineAssembly as Data-Only. When Data-Only, opening a CineAssembly opens only it’s details.
- Type:
(bool)
- set_metadata_as_integer(key, value) None¶
Add an integer as metadata to this assembly
- Parameters:
key (str)
value (int32)
- set_metadata_as_token_string(key, value) None¶
Add a tokenized string as metadata to this assembly
- Parameters:
key (str)
value (TemplateString)
- set_parent_assembly(parent) None¶
Set the parent assembly of this assembly
- Parameters:
parent (CineAssembly)