Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/MotionTrajectoryTypes.h |
| Include | #include "Animation/MotionTrajectoryTypes.h" |
Syntax
USTRUCT (BlueprintType , Category="Motion Trajectory")
struct FTrajectorySample
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AccumulatedSeconds | The relative accumulated time that this sample is associated with Zero value for instantaneous, negative values for the past, and positive values for the future | |
| FVector | LinearVelocity | Linear velocity relative to the sampled in-motion object. | |
| FTransform | Transform | Position relative to the sampled in-motion object. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsZeroSample () |
Determines if all sample properties are zeroed. | |
| FTrajectorySample | Lerp
(
const FTrajectorySample& Sample, |
Linear interpolation of all parameters of two trajectory samples. | |
| void | PrependOffset
(
const FTransform DeltaTransform, |
Concatenates DeltaTransform before the current transform is applied and shifts the accumulated time by DeltaSeconds | |
| FTrajectorySample | SmoothInterp
(
const FTrajectorySample& PrevSample, |
Centripetal Catmull–Rom spline interpolation of all parameters of two trajectory samples. | |
| void | TransformReferenceFrame
(
const FTransform DeltaTransform |