Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
References
Module | NetworkPredictionExtras |
Header | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/ParametricMovement.h |
Include | #include "ParametricMovement.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FSimpleParametricMotion
Remarks
Extremely simple struct for defining parametric motion. This is editable in UParametricMovementComponent's defaults, and also used by the simulation code.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FTransform | CachedStartingTransform | |
![]() ![]() ![]() ![]() |
float | MaxTime | |
![]() ![]() ![]() ![]() |
float | MinTime | |
![]() ![]() ![]() ![]() |
FVector | ParametricDelta |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AdvanceParametricTime
(
const float InPosition, |
Advance parametric time. This is meant to do simple things like looping/reversing etc. |
![]() ![]() |
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. |