1
0
KF2-Dev-Scripts/Engine/Classes/ForcedLoopSoundNode.uc
2020-12-13 18:01:13 +03:00

22 lines
637 B
Ucode

/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
/**
* Fake SoundNode used by SimpleSplineAudioComponent only to force endless loop.
* Should not be used anywhere else.
*/
class ForcedLoopSoundNode extends SoundNode
native( Sound );
cpptext
{
virtual UBOOL NotifyWaveInstanceFinished( struct FWaveInstance* WaveInstance );
virtual FLOAT GetDuration( );
/**
* Returns the maximum distance this sound can be heard from. Very large for looping sounds as the
* player can move into the hearable range during a loop.
*/
virtual FLOAT MaxAudibleDistance( FLOAT CurrentMaxDistance );
}