Navigation
API > API/Runtime > API/Runtime/Engine
An pool / allocator class that manages a pool of tracks of type DataType. Supports allocation / deallocation / updates of track data, as well as a mechanism to build diffs into a Patch data structure which can be marshaled and applied to another instance for thread-safe game / render updates. Track are pool allocated and so only a subset may be active at one time.
| Name | TAnimTrackPool |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimTrackPool.h |
| Include Path | #include "Animation/AnimTrackPool.h" |
Syntax
template<typename DataType>
class TAnimTrackPool
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAnimTrackPool
(
const TAnimTrackPool& |
Animation/AnimTrackPool.h | ||
| Animation/AnimTrackPool.h | |||
TAnimTrackPool
(
TAnimTrackPool&& |
Animation/AnimTrackPool.h |
Classes
| Name | Remarks |
|---|---|
| FPatch |
Structs
| Name | Remarks |
|---|---|
| FDefaultAssign | |
| FDefaultDeactivate | |
| FDefaultReset |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AllocateTrack
(
const DataType& Data |
Animation/AnimTrackPool.h | ||
int32 AllocateTrackAt
(
int32 Index, |
Animation/AnimTrackPool.h | ||
bool DeallocateTrack
(
int32 Index |
Animation/AnimTrackPool.h | ||
void Empty() |
Animation/AnimTrackPool.h | ||
void EnumerateActiveDirtyTracks
(
LambdaType&& Lambda |
Animation/AnimTrackPool.h | ||
void EnumerateActiveDirtyTracks
(
LambdaType&& Lambda |
Animation/AnimTrackPool.h | ||
void EnumerateActiveTracks
(
LambdaType&& Lambda |
Animation/AnimTrackPool.h | ||
void EnumerateActiveTracks
(
LambdaType&& Lambda |
Animation/AnimTrackPool.h | ||
void EnumerateDirtyTracks
(
LambdaType&& Lambda |
Animation/AnimTrackPool.h | ||
void EnumerateDirtyTracks
(
LambdaType&& Lambda |
Animation/AnimTrackPool.h | ||
FPatch Finalize
(
ResetFunctionType ResetFunction |
Animation/AnimTrackPool.h | ||
DataType & GetData
(
int32 Index |
Animation/AnimTrackPool.h | ||
const DataType & GetData
(
int32 Index |
Animation/AnimTrackPool.h | ||
int32 GetNumActiveTracks() |
Animation/AnimTrackPool.h | ||
int32 GetNumDirtyTracks() |
Animation/AnimTrackPool.h | ||
int32 GetNumTracks() |
Animation/AnimTrackPool.h | ||
void InitFrom
(
const TAnimTrackPool& Source, |
Initialize all active tracks from source but custom initialize each track. | Animation/AnimTrackPool.h | |
bool IsActiveIndex
(
int32 Index |
Animation/AnimTrackPool.h | ||
bool IsActiveIndexChecked
(
int32 Index |
Animation/AnimTrackPool.h | ||
bool IsDirtyIndex
(
int32 Index |
Animation/AnimTrackPool.h | ||
bool IsDirtyIndexChecked
(
int32 Index |
Animation/AnimTrackPool.h | ||
bool IsValidIndex
(
int32 Index |
Animation/AnimTrackPool.h | ||
void Patch
(
typename TAnimTrackPool< SourceTrackData >::FPatch&& Patch, |
Animation/AnimTrackPool.h | ||
void Reserve
(
int32 Num |
Animation/AnimTrackPool.h | ||
void Serialize
(
FArchive& Ar |
Animation/AnimTrackPool.h | ||
void SetAllClean() |
Animation/AnimTrackPool.h | ||
void SetAllDirty() |
Animation/AnimTrackPool.h | ||
bool SetClean
(
int32 Index |
Animation/AnimTrackPool.h | ||
void SetDirty
(
int32 Index |
Animation/AnimTrackPool.h | ||
bool UpdateTrack
(
int32 Index, |
Animation/AnimTrackPool.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAnimTrackPool & operator=
(
const TAnimTrackPool< SourceTrackDataType >& Other |
Animation/AnimTrackPool.h | ||
TAnimTrackPool & operator=
(
const TAnimTrackPool& |
Animation/AnimTrackPool.h | ||
TAnimTrackPool & operator=
(
TAnimTrackPool&& |
Animation/AnimTrackPool.h |