1
0
KF2-Dev-Scripts/Engine/Classes/InterpTrackInstSlomo.uc

25 lines
832 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class InterpTrackInstSlomo extends InterpTrackInst
native(Interpolation);
/** Backup of initial LevelInfo TimeDilation setting when interpolation started. */
var float OldTimeDilation;
cpptext
{
// InterpTrackInst interface
virtual void SaveActorState(UInterpTrack* Track);
virtual void RestoreActorState(UInterpTrack* Track);
virtual void InitTrackInst(UInterpTrack* Track);
virtual void TermTrackInst(UInterpTrack* Track);
/** @return whether the slomo track's effects should actually be applied. We want to only do this once for the server
* and not at all for the clients regardless of the number of instances created for the various players
* to avoid collisions and replication issues
*/
UBOOL ShouldBeApplied();
}