UGeometryCacheComponent

Inheritance Hierarchy

Syntax

class UGeometryCacheComponent : public UMeshComponent

Remarks

GeometryCacheComponent, encapsulates a GeometryCache asset instance and implements functionality for rendering/and playback of GeometryCaches

Variables

Name Description

Protected variable

bool

 

bLooping

Protected variable

bool

 

bRunning

Protected variable

float

 

Duration

Duration of the animation (maximum time)

Protected variable

float

 

ElapsedTime

Protected variable

FBoxSphereBound ...

 

LocalBounds

Local space bounds of mesh

Protected variable

int32

 

NumTracks

Protected variable

float

 

PlaybackSpeed

Protected variable

float

 

PlayDirection

Play (time) direction, either -1.0f or 1.0f

Protected variable

FGeometryCacheS...

 

SceneProxy

Pointer to SceneProxy for the instance of this component

Protected variable

float

 

StartTimeOffset

Protected variable

TArray < int32 >

 

TrackMatrixSampleIndices

Protected variable

TArray < int32 >

 

TrackMeshSampleIndices

Matrix and Mesh sample index for each individual track

Protected variable

TArray < FTrackR ...

 

TrackSections

Array containing the TrackData (used for rendering) for each individual track

Functions

Name Description

Protected function

void

 

InvalidateTrackSampleIndices()

Invalidate both the Matrix and Mesh sample indices

Protected function

void

 

ReleaseResources()

ReleaseResources, clears and removes data stored/copied from GeometryCache instance

References

Module

GeometryCache

Header

Runtime/GeometryCache/Classes/GeometryCacheComponent.h