unreal.AnimationCompressionLibraryDatabase

class unreal.AnimationCompressionLibraryDatabase(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

An ACL database object references several UAnimSequence instances that it contains.

C++ Source:

  • Plugin: ACLPlugin

  • Module: ACLPlugin

  • File: AnimationCompressionLibraryDatabase.h

Editor Properties: (see get_editor_property/set_editor_property)

  • anim_sequences (Array[AnimSequence]): [Read-Only] The anim sequences contained within the database. Built manually from the asset UI, content browser, or with a commandlet.

  • anim_sequences_new_size_kb (int32): [Read-Only] The total size of all Animation Sequences with the database in use.

  • anim_sequences_old_size_kb (int32): [Read-Only] The total size of all Animation Sequences if the database were not used.

  • database_metadata_size_kb (int32): [Read-Only] The size of the database metadata.

  • database_size_kb (int32): [Read-Only] The total size of the database.

  • default_visual_fidelity (ACLVisualFidelity): [Read-Write] The default level of quality to set when the database loads in-game. By default, nothing is streamed in.

  • highest_importance_proportion (float): [Read-Only] What percentage of the key frames should remain in the anim sequences.

  • low_importance_size_size_kb (int32): [Read-Only] The size of the database low importance streaming tier before any stripping.

  • lowest_importance_proportion (float): [Read-Write] What percentage of the key frames should be moved to the database. Least important key frames are moved first.

  • max_stream_request_size_kb (uint32): [Read-Write] The maximum size in KiloBytes of streaming requests. Setting this to 0 will force tiers to load in a single request regardless of their size.

  • medium_importance_proportion (float): [Read-Write] What percentage of the key frames should be moved to the database. Medium importance key frames are moved second.

  • medium_importance_size_kb (int32): [Read-Only] The size of the database medium importance streaming tier.

  • num_anim_sequences (int32): [Read-Only] The total num of Animation Sequences in this database.

  • preview_visual_fidelity (ACLVisualFidelity): [Read-Write] The level of quality to preview with the database when decompressing in the editor.

  • strip_lowest_importance_tier (PerPlatformBool): [Read-Write] Whether or not to strip the lowest importance tier entirely from disk. Stripping the lowest tier means that the visual fidelity of Highest and Medium are equivalent.

classmethod get_visual_fidelity(database_asset) ACLVisualFidelity

Get Visual Fidelity

Parameters:

database_asset (AnimationCompressionLibraryDatabase)

Return type:

ACLVisualFidelity

classmethod set_visual_fidelity(world_context_object, latent_info, database_asset, visual_fidelity=ACLVisualFidelity.HIGHEST) ACLVisualFidelityChangeResult

Initiate a latent database change in quality by streaming in/out as necessary.

Parameters:
Returns:

result (ACLVisualFidelityChangeResult):

Return type:

ACLVisualFidelityChangeResult