Navigation
API > API/Plugins > API/Plugins/GeometryCache
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGeometryCache
References
| Module | GeometryCache |
| Header | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Classes/GeometryCache.h |
| Include | #include "GeometryCache.h" |
Syntax
UCLASS&40;HideCategories&61;Object, BlueprintType, Config&61;Engine&41;
class UGeometryCache :
public UObject,
public IInterface_AssetUserData
Remarks
A 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. *
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< class UAssetImportData > | AssetImportData | Importing data and options used for this Geometry cache object | |
| TArray< TObjectPtr< UAssetUserData > > | AssetUserData | Array of user data stored with the asset | |
| int32 | EndFrame | ||
| uint64 | Hash | ||
| TArray< TObjectPtr< UMaterialInterface > > | Materials | ||
| TArray< FName > | MaterialSlotNames | ||
| int32 | StartFrame | ||
| TObjectPtr< class UThumbnailInfo > | ThumbnailInfo | Information for thumbnail rendering | |
| TArray< TObjectPtr< UGeometryCacheTrack > > | Tracks | GeometryCache track defining the samples/geometry data for this GeomCache instance |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UGeometryCache
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddTrack
(
UGeometryCacheTrack* Track |
AddTrack | |
| float | Calculate it's duration | ||
| void | Clears all stored data so the reimporting step can fill the instance again | ||
| int32 | GetEndFrame () |
Get the end frame | |
| int32 | GetFrameAtTime
(
const float Time |
Get the Frame at the Specified Time | |
| FString | GetHash () |
Get the hash of the meshes data of the GeometryCache | |
| void | GetMeshDataAtTime
(
float Time, |
Get the mesh data at the specified time | |
| int32 | Get the start frame | ||
| void | SetFrameStartEnd
(
int32 InStartFrame, |
Set the start and end frames for the GeometryCache |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects | |
| FString | GetDesc () |
Return a one line description of an object for viewing in the thumbnail view of the generic browser | |
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). | |
| bool | Called to check if the object is ready for FinishDestroy. | ||
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
This is called when a property is about to be modified externally | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Overridden from IInterface_AssetUserData
| Type | Name | Description | |
|---|---|---|---|
| void | AddAssetUserData
(
UAssetUserData* InUserData |
||
| const TArray< UAssetUserData * > * | |||
| UAssetUserData * | GetAssetUserDataOfClass
(
TSubclassOf< UAssetUserData > InUserDataClass |
||
| void | RemoveUserDataOfClass
(
TSubclassOf< UAssetUserData > InUserDataClass |