Navigation
API > API/Plugins > API/Plugins/ChaosMover > API/Plugins/ChaosMover/UChaosPathedMovementMode
Description
Set the time it takes to travel one way along this path from start to end. Only valid to call in BeginPlay or the Construction Script, ignored otherwise. Once play has begun, the path duration can be modified indirectly via SetMovementTimeDilation on the owning PathedMoverComponent
| Name | SetOneWayTripDuration_BeginPlayOnly |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ChaosMover/Source/ChaosMover/Public/ChaosMover/PathedMovement/ChaosPathedMovementMode.h |
| Include Path | #include "ChaosMover/PathedMovement/ChaosPathedMovementMode.h" |
| Source | /Engine/Plugins/Experimental/ChaosMover/Source/ChaosMover/Private/PathedMovement/ChaosPathedMovementMode.cpp |
UFUNCTION (BlueprintCallable, Category=PathedMovementMode,
DisplayName="Set Path Duration (BeginPlay only)")
void SetOneWayTripDuration_BeginPlayOnly
(
float NewDuration
)