Navigation
API > API/Plugins > API/Plugins/SequencerAnimTools
This struct will give set of indices to calculate based upon number of frames and current bucket we are calculating. t
| Name | FFrameCalculator |
| Type | struct |
| Header File | /Engine/Plugins/Editor/SequencerAnimTools/Source/SequencerAnimTools/Public/TrajectoryDrawInfo.h |
| Include Path | #include "TrajectoryDrawInfo.h" |
Syntax
struct FFrameCalculator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFrameCalculator() |
TrajectoryDrawInfo.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| IndicesToCalculatePerBucket | int32 | TrajectoryDrawInfo.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentBucket | int32 | TrajectoryDrawInfo.h | ||
| CurrentFrameTimes | UE::AIE::FFrameTimeByIndex | TrajectoryDrawInfo.h | ||
| CurrentRange | int32 | TrajectoryDrawInfo.h | ||
| CurrentRangeEndIndex | int32 | TrajectoryDrawInfo.h | ||
| CurrentRangeStartIndex | int32 | TrajectoryDrawInfo.h | ||
| IndicesToCalculate | TArray< int32 > | TrajectoryDrawInfo.h | ||
| MustHaveIndices | TArray< int32 > | TrajectoryDrawInfo.h | ||
| NumOfBuckets | int32 | TrajectoryDrawInfo.h | ||
| Ranges | TArray< TRange< FFrameNumber > > | Set of ranges of time we calculate, if view range is same as eval range this will just be one range that's equal to the CurrentFrameTimesRange | TrajectoryDrawInfo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMustHaveIndices
(
const TArray< int32 >& InMustHaveIndices |
Add must have indices that you want to calculate first, usually start/end or key times. | TrajectoryDrawInfo.h | |
bool CalculateIndices() |
Calculate next set of indices in the IndicesToCalculate array will return true if we need to calculate, will return false if this is the last time | TrajectoryDrawInfo.h | |
void Reset() |
Reset calculated indices and bucket to zero | TrajectoryDrawInfo.h | |
void SetUpFrameCalculator
(
const UE::AIE::FFrameTimeByIndex& InCurrentFrameTimes, |
Set it up. | TrajectoryDrawInfo.h |