unreal.AnimDatabaseIndexFunction¶
- class unreal.AnimDatabaseIndexFunction(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectFunction used to create an index from a database
C++ Source:
Plugin: AnimDatabase
Module: AnimDatabase
File: AnimDatabaseIndex.h
- build_index(database, frame_ranges) -> (out_index_frames=Map[Name, AnimDatabaseFrames], out_index_frame_ranges=Map[Name, AnimDatabaseFrameRanges], out_index_frame_attributes=Map[Name, AnimDatabaseFrameAttribute])¶
Builds the index for the given database and frame ranges
- Parameters:
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
- Returns:
out_index_frames (Map[Name, AnimDatabaseFrames]):
out_index_frame_ranges (Map[Name, AnimDatabaseFrameRanges]):
out_index_frame_attributes (Map[Name, AnimDatabaseFrameAttribute]):
- Return type:
tuple