UGeometryCache

A Geometry Cache is a piece/set of geometry that consists of individual Mesh/Transformation samples.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GeometryCache

Header

/Engine/Plugins/Experimental/GeometryCache/Source/GeometryCache/Classes/GeometryCache.h

Include

#include "GeometryCache.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(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

Name Description

Public variable UProperty Category instanced, visibleanywhere

UAssetImportDat...

 

AssetImportData

Importing data and options used for this Geometry cache object

Protected variable UProperty Category BlueprintReadOnly

int32

 

EndFrame

Protected variable UProperty

uint64

 

Hash

Public variable UProperty Category, EditAnywhere

TArray< UMateri...

 

Materials

Protected variable UProperty Category BlueprintReadOnly

int32

 

StartFrame

Public variable UProperty Category instanced, visibleanywhere

UThumbnailInfo ...

 

ThumbnailInfo

Information for thumbnail rendering

Public variable UProperty Category visibleanywhere

TArray< UGeomet...

 

Tracks

GeometryCache track defining the samples/geometry data for this GeomCache instance

Constructors

Name Description

Public function

UGeometryCache

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AddTrack

(
    UGeometryCacheTrack* Track
)

AddTrack

Public function Const

float

 

CalculateDuration()

Calculate it's duration

Public function

void

 

ClearForReimporting()

Clears all stored data so the reimporting step can fill the instance again

Public function Const

int32

 

GetEndFrame()

Get the end frame

Public function Const

int32

 

GetFrameAtTime

(
    const float Time
)

Get the Frame at the Specified Time

Public function Const

FString

 

GetHash()

Get the hash of the meshes data of the GeometryCache

Public function Const

void

 

GetMeshDataAtTime

(
    float Time,
    TArray< FGeometryCacheMeshData >& ...
)

Get the mesh data at the specified time

Public function Const

int32

 

GetStartFrame()

Get the start frame

Public function

void

 

SetFrameStartEnd

(
    int32 InStartFrame,
    int32 InEndFrame
)

Set the start and end frames for the GeometryCache

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Public function Virtual Const

void

 

GetAssetRegistryTags

(
    TArray< FAssetRegistryTag >& OutTa...
)

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

Public function Virtual

FString

 

GetDesc()

Return a one line description of an object for viewing in the thumbnail view of the generic browser

Public function Virtual

bool

 

IsReadyForFinishDestroy()

Called to check if the object is ready for FinishDestroy.

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

Public function Virtual

void

 

PreEditChange

(
    FProperty* PropertyAboutToChan...
)

This is called when a property is about to be modified externally

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss