Navigation
API > API/Plugins > API/Plugins/DaySequence > API/Plugins/DaySequence/ADaySequenceActor
Description
Set the duration of a day cycle in real time in hours and update the root sequence in game.
This method is the network multicast variant of SetTimePerCycle. In game, this will properly update the root sequence and subsequence time scales on both the server and the client. These changes must be invoked on both server and client since only playback position & status are replicated.
| Name | Multicast_SetTimePerCycle |
| Type | function |
| Header File | /Engine/Plugins/Experimental/DaySequence/Source/DaySequence/Public/DaySequenceActor.h |
| Include Path | #include "DaySequenceActor.h" |
UFUNCTION (NetMulticast, Reliable)
void Multicast_SetTimePerCycle
(
float InHours
)
Parameters
| Name | Remarks |
|---|---|
| InHours | time per cycle in hours. |