Navigation
API > API/Plugins > API/Plugins/PoseSearch
This enumeration controls the channel sampling time: for example if a channel specifies a bone and an origin bone (used to generate the reference system of the features associated to the bone), bone and origin bone will be evaluated at potentially different times:
| Name | EPermutationTimeType |
| Type | enum |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchFeatureChannel.h |
| Include Path | #include "PoseSearch/PoseSearchFeatureChannel.h" |
Syntax
enum EPermutationTimeType
{
UseSampleTime,
UsePermutationTime,
UseSampleToPermutationTime,
}
Values
| Name | Remarks |
|---|---|
| UseSampleTime | Bone and origin bone are sampled at the same sample time (plus eventual SampleTimeOffset for the bone): it's defined as the current animation evaluation time. |
| UsePermutationTime | Bone and origin bone are sampled at the same permutation time (plus eventual SampleTimeOffset for the bone): it's defined as SamplingTime (as UseSampleTime) + Schema->PermutationsTimeOffset + PermutationIndex / Schema->PermutationsSampleRate where PermutationIndex is in range [0, Schema->NumberOfPermutations). |
| UseSampleToPermutationTime | Bone is evaluated at sample time (and plus eventual SampleTimeOffset) and origin bone is evaluated at permutation time. |