Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UPathedPhysicsMovementMode
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 | SetPathDuration_BeginPlayOnly |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/PhysicsMover/PathedMovement/PathedMovementMode.h |
| Include Path | #include "PhysicsMover/PathedMovement/PathedMovementMode.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/PhysicsMover/PathedMovement/PathedMovementMode.cpp |
UFUNCTION (BlueprintCallable, Category=PathedMovementMode,
DisplayName="Set Path Duration (BeginPlay only)")
void SetPathDuration_BeginPlayOnly
(
float NewDuration
)