Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimSequenceDecompressionContext.h |
| Include | #include "Animation/AnimSequenceDecompressionContext.h" |
Syntax
struct FAnimSequenceDecompressionContext
Remarks
Encapsulates decompression related data used by bone compression codecs.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | AnimName | ||
| bool | bAdditiveAnimation | ||
| const ICompressedAnimData & | CompressedAnimData | ||
| EAnimInterpolationType | Interpolation | ||
| int32 | NumberOfFrames | ||
| FFrameRate | SamplingRate | ||
| FFrameTime | SamplingTime | ||
| const USkeleton * | SourceSkeleton |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAnimSequenceDecompressionContext
(
float SequenceLength_, |
his constructor is deprecated. Use the other constructor by passing the ref pose and track to skeleton map to ensure safe usage with all codecs | ||
FAnimSequenceDecompressionContext
(
float SequenceLength_, |
FAnimSequenceDecompressionContext signature has been deprecated, use different one with sampling rate and number of frames | ||
FAnimSequenceDecompressionContext
(
const FFrameRate& InSamplingRate, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| double | |||
| double | |||
| double | |||
| const TArrayView< const FTransform > & | |||
| double | |||
| const USkeleton * | |||
| const TArrayView< const FTrackToSkeletonMap > & | |||
| bool | |||
| void | Seek
(
double SampleAtTime |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| float | RelativePos | Direct access to RelativePos has been deprecated use GetRelativePosition instead | |
| float | SequenceLength | Direct access to SequenceLength has been deprecated use GetPlayableLength instead | |
| float | Time | Direct access to Time has been deprecated use GetEvaluationTime or GetInterpolatedEvaluationTime instead |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
FAnimSequenceDecompressionContext
(
float SequenceLength_, |
his constructor is deprecated. Use the other constructor by passing the ref pose and track to skeleton map to ensure safe usage with all codecs | ||
FAnimSequenceDecompressionContext
(
float SequenceLength_, |
FAnimSequenceDecompressionContext signature has been deprecated, use different one with sampling rate and number of frames | ||
| void | Seek
(
float SampleAtTime |
Seek with float precision sampling time has been deprecated use double signature instead |