Navigation
Unreal Engine C++ API Reference > 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 (HideCategories=Object, BlueprintType, Config=Engine)
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 | |
![]() |
FOnPreSave | OnPreSave | |
![]() ![]() ![]() ![]() |
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 | AddAssetUserData
(
UAssetUserData* InUserData |
|
![]() |
void | AddTrack
(
UGeometryCacheTrack* Track |
AddTrack |
![]() ![]() |
float | Calculate it's duration | |
![]() |
void | Clears all stored data so the reimporting step can fill the instance again | |
![]() ![]() ![]() |
const TArray< UAssetUserData * > * | ||
![]() ![]() |
UAssetUserData * | GetAssetUserDataOfClass
(
TSubclassOf< UAssetUserData > InUserDataClass |
|
![]() ![]() |
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 | RemoveUserDataOfClass
(
TSubclassOf< UAssetUserData > InUserDataClass |
|
![]() |
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
(
FAssetRegistryTagsContext Context |
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 |
![]() ![]() ![]() |
void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
|
![]() ![]() |
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 | PreSave
(
FObjectPreSaveContext SaveContext |
Presave function. |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Typedefs
Name | Description |
---|---|
FOnPreSave |