Navigation
API > API/Plugins > API/Plugins/ControlRig
| Name | FSampleTrackShared |
| Type | class |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Tracks/SampleTrack.h |
| Include Path | #include "Tracks/SampleTrack.h" |
Syntax
template<typename T>
class FSampleTrackShared : public FSampleTrackBase
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FSampleTrackBase → FSampleTrackShared
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSampleTrackShared
(
const FName& InName |
Tracks/SampleTrack.h | ||
| Tracks/SampleTrack.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSampleTrackShared() |
Tracks/SampleTrack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSample
(
const StructArrayType& InStructArrayValue, |
Adds a new sample to this track (overload for instanced struct array only) | Tracks/SampleTrack.h | |
virtual void AddSample
(
const T& InValue, |
Adds a new sample to this track | Tracks/SampleTrack.h | |
void AddSample
(
const StructType& InStructValue, |
Adds a new sample to this track (overload for instanced struct only) | Tracks/SampleTrack.h | |
TArray< StructType > GetArrayValueAtTimeIndex
(
int32 InTimeIndex, |
Returns the value of this track at a given time index (overload for instanced struct arrays only) | Tracks/SampleTrack.h | |
| Tracks/SampleTrack.h | |||
const FSampleTrackShared * GetCastReferencedTrack () |
Tracks/SampleTrack.h | ||
int32 GetSizePerValue() |
Tracks/SampleTrack.h | ||
StructArrayType GetValueAtSampleIndex
(
int32 InSampleIndex |
Returns the value of this track at a given sample index (overload for instanced struct arrays only) | Tracks/SampleTrack.h | |
TArray< StructType > GetValueAtSampleIndex
(
int32 InSampleIndex |
Returns the value of this track at a given sample index (overload for instanced struct arrays only) | Tracks/SampleTrack.h | |
StructType GetValueAtSampleIndex
(
int32 InSampleIndex |
Returns the value of this track at a given sample index (overload for instanced structs only) | Tracks/SampleTrack.h | |
virtual const T & GetValueAtSampleIndex
(
int32 InSampleIndex |
Returns the value of this track at a given sample index | Tracks/SampleTrack.h | |
virtual T GetValueAtTimeIndex
(
int32 InTimeIndex, |
Returns the value of this track at a given time index | Tracks/SampleTrack.h | |
StructArrayType GetValueAtTimeIndex
(
int32 InTimeIndex, |
Returns the value of this track at a given time index (overload for instanced struct arrays only) | Tracks/SampleTrack.h | |
StructType GetValueAtTimeIndex
(
int32 InTimeIndex, |
Returns the value of this track at a given time index (overload for instanced structs only) | Tracks/SampleTrack.h |
Overridden from FSampleTrackBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AddAtlas
(
bool bForce, |
Analyses the values stored and introduces the atlas index array, an indirection to save memory. | Tracks/SampleTrack.h | |
virtual bool ConvertToComplete
(
bool bForce |
Analyses the memory footprint of a sample track (just complete values vs time indices + values) and converts the track back to a complete representation for memory efficiency | Tracks/SampleTrack.h | |
virtual bool ConvertToSampled
(
bool bForce, |
Adds all of the values back onto the track using a sampled representation | Tracks/SampleTrack.h | |
virtual void Empty() |
Tracks/SampleTrack.h | ||
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual ETrackType GetTrackType () |
Returns the type of this track | Tracks/SampleTrack.h | |
virtual FSampleTrackBase::ETrackType GetTrackType () |
The type of track | Tracks/SampleTrack.h | |
virtual bool IsIdentical
(
const FSampleTrackBase* InOther, |
Returns true if this track is identical to another one | Tracks/SampleTrack.h | |
virtual bool LocalizeValues() |
Localizes values if this track is referenced | Tracks/SampleTrack.h | |
virtual int32 NumStoredValues() |
The number of stored values - which can be less than NumSamples if there is an atlas present | Tracks/SampleTrack.h | |
virtual bool RemoveAtlas() |
Removes an existing Atlas indirection by flattening out all unique values into a larger, non-unique Value array | Tracks/SampleTrack.h | |
virtual void Reserve
(
int32 InSampleCount, |
Tracks/SampleTrack.h | ||
virtual void Reset() |
Tracks/SampleTrack.h | ||
virtual void Shrink() |
Tracks/SampleTrack.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateValueArrayView() |
Tracks/SampleTrack.h |
Overridden from FSampleTrackBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 AppendValuesFromTrack
(
const FSampleTrackBase* InOtherTrack |
Tracks/SampleTrack.h | ||
virtual int32 RemoveObsoleteTimes
(
int32 InNumTimesToRemove, |
Removes samples from the track which don't present any value anywhere. | Tracks/SampleTrack.h | |
virtual void UpdateArrayViews() |
Tracks/SampleTrack.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsArrayValue() |
Tracks/SampleTrack.h |