unreal.GeometryCache¶
- class unreal.GeometryCache(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectA Geometry Cache is a piece/set of geometry that consists of individual Mesh/Transformation samples. In contrast with Static Meshes they can have their vertices animated in certain ways. *
C++ Source:
Plugin: GeometryCache
Module: GeometryCache
File: GeometryCache.h
Editor Properties: (see get_editor_property/set_editor_property)
asset_import_data(AssetImportData): [Read-Only] Importing data and options used for this Geometry cache objectasset_user_data(Array[AssetUserData]): [Read-Write] Array of user data stored with the assetend_frame(int32): [Read-Write]material_slot_names(Array[Name]): [Read-Write]materials(Array[MaterialInterface]): [Read-Write]start_frame(int32): [Read-Write]thumbnail_info(ThumbnailInfo): [Read-Only] Information for thumbnail renderingtracks(Array[GeometryCacheTrack]): [Read-Only] GeometryCache track defining the samples/geometry data for this GeomCache instance
- add_asset_user_data_of_class(user_data_class) bool¶
Creates and adds an instance of the provided AssetUserData class to the target asset.
- get_asset_user_data_of_class(user_data_class) AssetUserData¶
Returns an instance of the provided AssetUserData class if it’s contained in the target asset.
- has_asset_user_data_of_class(user_data_class) bool¶
Checks whether or not an instance of the provided AssetUserData class is contained.