Navigation
API > API/Plugins > API/Plugins/ControlRig
| Name | FComposedSampleTrack |
| Type | class |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Tracks/ComposedSampleTrack.h |
| Include Path | #include "Tracks/ComposedSampleTrack.h" |
Syntax
template<typename T>
class FComposedSampleTrack : public FSampleTrack< T >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FSampleTrackBase → FSampleTrackShared → FSampleTrack → FComposedSampleTrack
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FComposedSampleTrack
(
const FName& InName |
Tracks/ComposedSampleTrack.h | ||
| Tracks/ComposedSampleTrack.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FComposedSampleTrack() |
Tracks/ComposedSampleTrack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSample
(
const FTransform3f& InValue, |
Tracks/ComposedSampleTrack.h | ||
void AddSample
(
const FTransform3f& InValue, |
Overridden from FSampleTrackShared
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddSample
(
const T& InValue, |
Adds a new sample to this track | Tracks/ComposedSampleTrack.h | |
virtual T GetValueAtTimeIndex
(
int32 InTimeIndex, |
Returns the value of this track at a given time index | Tracks/ComposedSampleTrack.h | |
virtual FTransform3f GetValueAtTimeIndex
(
int32 InTimeIndex, |
Returns the value of this track at a given time index | Tracks/ComposedSampleTrack.h | |
virtual FTransform3f GetValueAtTimeIndex
(
int32 InTimeIndex, |
Returns the value of this track at a given time index |
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/ComposedSampleTrack.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/ComposedSampleTrack.h | |
virtual bool ConvertToSampled
(
bool bForce, |
Adds all of the values back onto the track using a sampled representation | Tracks/ComposedSampleTrack.h | |
virtual void Empty() |
Tracks/ComposedSampleTrack.h | ||
virtual FString GetChildTrackNameSuffix
(
int32 InChildTrackIndex |
Returns the name for a given child track | Tracks/ComposedSampleTrack.h | |
virtual FString GetChildTrackNameSuffix
(
int32 InChildTrackIndex |
Returns the name for a given child track | ||
virtual FString GetChildTrackNameSuffix
(
int32 InChildTrackIndex |
Returns the name for a given child track | Tracks/ComposedSampleTrack.h | |
virtual TArray< FSampleTrackBase::ETrackType > GetChildTrackTypes () |
Returns the required track types for the child tracks | Tracks/ComposedSampleTrack.h | |
virtual TArray< FSampleTrackBase::ETrackType > GetChildTrackTypes () |
Returns the required track types for the child tracks | Tracks/ComposedSampleTrack.h | |
virtual TArray< FSampleTrackBase::ETrackType > GetChildTrackTypes () |
Returns the required track types for the child tracks | ||
virtual bool IsComposed() |
Returns true if this track is composed out of other tracks | Tracks/ComposedSampleTrack.h | |
virtual bool IsIdentical
(
const FSampleTrackBase* InOther, |
Returns true if this track is identical to another one | Tracks/ComposedSampleTrack.h | |
virtual bool LocalizeValues() |
Localizes values if this track is referenced | Tracks/ComposedSampleTrack.h | |
virtual bool RemoveAtlas() |
Removes an existing Atlas indirection by flattening out all unique values into a larger, non-unique Value array | Tracks/ComposedSampleTrack.h | |
virtual void Reserve
(
int32 InSampleCount, |
Tracks/ComposedSampleTrack.h | ||
virtual void Serialize
(
FArchive& InArchive |
Tracks/ComposedSampleTrack.h | ||
virtual void Shrink() |
Tracks/ComposedSampleTrack.h |
Protected
Overridden from FSampleTrackBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const TArray< int32 > & GetChildTracks() |
Tracks/ComposedSampleTrack.h | ||
virtual int32 RemoveObsoleteTimes
(
int32 InNumTimesToRemove, |
Removes samples from the track which don't present any value anywhere. | Tracks/ComposedSampleTrack.h | |
virtual void SetChildTracks
(
const TArray< int32 >& InChildTrackIndices |
Tracks/ComposedSampleTrack.h | ||
virtual void UpdateChildTracks() |
Tracks/ComposedSampleTrack.h |