Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
Extremely simple struct for defining parametric motion. This is editable in UParametricMovementComponent's defaults, and also used by the simulation code.
| Name | FSimpleParametricMotion |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/ParametricMovement.h |
| Include Path | #include "ParametricMovement.h" |
Syntax
USTRUCT (BlueprintType )
struct FSimpleParametricMotion
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedStartingTransform | FTransform | ParametricMovement.h | ||
| MaxTime | float | ParametricMovement.h |
|
|
| MinTime | float | ParametricMovement.h |
|
|
| ParametricDelta | FVector | ParametricMovement.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AdvanceParametricTime
(
const float InPosition, |
Advance parametric time. This is meant to do simple things like looping/reversing etc. | ParametricMovement.h | |
void MapTimeToTransform
(
const float InPosition, |
Actually turn the given position into a transform. Again, should be static and not conditional on changing state outside of the network sim. | ParametricMovement.h |