Navigation
API > API/Runtime > API/Runtime/Engine
A trajectory defined by a range of samples.
The sample range is conformed of history samples, a current sample and future predicted samples.
- History samples have time < 0. Zero or more can be present.
- Current sample has a time of 0. Assumes only one is ever present.
- Predicted samples have a time of > 0. Zero or more can be present.
| Name | FTransformTrajectory |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/TrajectoryTypes.h |
| Include Path | #include "Animation/TrajectoryTypes.h" |
Syntax
USTRUCT (BlueprintType , Category="Trajectory")
struct FTransformTrajectory
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Samples | TArray< FTransformTrajectorySample > | This contains zero or more history samples, a current sample, and zero or more future predicted samples. | Animation/TrajectoryTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTransformTrajectorySample GetSampleAtTime
(
float Time, |
Animation/TrajectoryTypes.h |