Navigation
API > API/Plugins > API/Plugins/MotionTrajectory
References
| Module | MotionTrajectory |
| Header | /Engine/Plugins/Experimental/Animation/MotionTrajectory/Source/MotionTrajectory/Public/MotionTrajectoryLibrary.h |
| Include | #include "MotionTrajectoryLibrary.h" |
Syntax
USTRUCT (BlueprintType )
struct FTrajectorySamplingData
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | HistoryLengthSeconds | This should generally match the longest history required by a Motion Matching Database in the project. | |
| int32 | HistorySamplesPerSecond | Higher values will cost more storage and processing time, but give higher accuracy. | |
| int32 | NumHistorySamples | ||
| int32 | NumPredictionSamples | ||
| float | PredictionLengthSeconds | This should match the longest trajectory prediction required by a Motion Matching Database in the project. | |
| int32 | PredictionSamplesPerSecond | Higher values will cost more storage and processing time, but give higher accuracy. | |
| float | SecondsPerHistorySample | ||
| float | SecondsPerPredictionSample |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Init () |