Navigation
API > API/Plugins > API/Plugins/GeometryCache
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. *
| Name | UGeometryCache |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Classes/GeometryCache.h |
| Include Path | #include "GeometryCache.h" |
Syntax
UCLASS (MinimalAPI, HideCategories=Object, BlueprintType, Config=Engine)
class UGeometryCache :
public UObject ,
public IInterface_AssetUserData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGeometryCache
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGeometryCache
(
const FObjectInitializer& ObjectInitializer |
GeometryCache.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnPreSave | TBaseDelegate_OneParam< void, UGeometryCache * > | GeometryCache.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetImportData | TObjectPtr< class UAssetImportData > | Importing data and options used for this Geometry cache object | GeometryCache.h |
|
| AssetUserData | TArray< TObjectPtr< UAssetUserData > > | Array of user data stored with the asset | GeometryCache.h |
|
| Materials | TArray< TObjectPtr< UMaterialInterface > > | GeometryCache.h |
|
|
| MaterialSlotNames | TArray< FName > | GeometryCache.h |
|
|
| OnPreSave | FOnPreSave | GeometryCache.h | ||
| ThumbnailInfo | TObjectPtr< class UThumbnailInfo > | Information for thumbnail rendering | GeometryCache.h |
|
| Tracks | TArray< TObjectPtr< UGeometryCacheTrack > > | GeometryCache track defining the samples/geometry data for this GeomCache instance | GeometryCache.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ReleaseResourcesFence | FRenderCommandFence | A fence which is used to keep track of the rendering thread releasing the geometry cache resources. | GeometryCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddAssetUserData
(
UAssetUserData* InUserData |
GeometryCache.h | ||
void AddTrack
(
UGeometryCacheTrack* Track |
AddTrack | GeometryCache.h | |
float CalculateDuration() |
Calculate it's duration | GeometryCache.h | |
void ClearForReimporting() |
Clears all stored data so the reimporting step can fill the instance again | GeometryCache.h | |
virtual const TArray< UAssetUserData * > * GetAssetUserDataArray() |
GeometryCache.h | ||
virtual UAssetUserData * GetAssetUserDataOfClass
(
TSubclassOf< UAssetUserData > InUserDataClass |
GeometryCache.h | ||
int32 GetEndFrame() |
Get the end frame | GeometryCache.h | |
int32 GetFrameAtTime
(
const float Time |
Get the Frame at the Specified Time | GeometryCache.h | |
FString GetHash() |
Get the hash of the meshes data of the GeometryCache | GeometryCache.h | |
void GetMeshDataAtTime
(
float Time, |
Get the mesh data at the specified time | GeometryCache.h | |
int32 GetStartFrame() |
Get the start frame | GeometryCache.h | |
virtual void RemoveUserDataOfClass
(
TSubclassOf< UAssetUserData > InUserDataClass |
GeometryCache.h | ||
void SetFrameStartEnd
(
int32 InStartFrame, |
Set the start and end frames for the GeometryCache | GeometryCache.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
GeometryCache.h | ||
virtual void GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
GeometryCache.h | ||
virtual void GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
GeometryCache.h | ||
virtual FString GetDesc() |
GeometryCache.h | ||
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
GeometryCache.h | ||
virtual bool IsReadyForFinishDestroy() |
GeometryCache.h | ||
virtual void PostInitProperties() |
GeometryCache.h | ||
virtual void PreEditChange
(
FProperty* PropertyAboutToChange |
GeometryCache.h | ||
virtual void PreSave
(
FObjectPreSaveContext SaveContext |
GeometryCache.h | ||
virtual void Serialize
(
FArchive& Ar |
GeometryCache.h |