|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include "CoreMinimal.h"#include "UObject/ObjectMacros.h"#include "CriWareApi.h"#include "Atom.h"#include "AtomWavePlayer.generated.h"クラス | |
| class | UAtomWavePlayer |
列挙型 | |
| enum class | EAtomWavePlayState : uint8 { Playing , Stopped , Paused , FadingIn , FadingOut , Count } |
関数 | |
| DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnAtomWavePlayerStateChanged) | |
| DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnWaveFinished) | |
| DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (FOnWavePlaybackPercent, const class UAtomWaveBank *, PlayingWaveBank, int32, PlayingWaveId, const float, PlaybackPercent) | |
| DECLARE_MULTICAST_DELEGATE_FourParams (FOnWavePlaybackPercentNative, const class UAtomWavePlayer *, const class USoundAtomCue *, int32, const float) | |
| DECLARE_MULTICAST_DELEGATE_OneParam (FOnWaveFinishedNative, class UAtomWavePlayer *) | |
|
strong |
| DECLARE_DYNAMIC_MULTICAST_DELEGATE | ( | FOnAtomWavePlayerStateChanged | ) |
Multicast delegate that is invoked when a state changed occurred in the player.
| DECLARE_DYNAMIC_MULTICAST_DELEGATE | ( | FOnWaveFinished | ) |
called when we finish playing audio, either because it played to completion or because a Stop() call turned it off early
| DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams | ( | FOnWavePlaybackPercent | , |
| const class UAtomWaveBank * | , | ||
| PlayingWaveBank | , | ||
| int32 | , | ||
| PlayingWaveId | , | ||
| const float | , | ||
| PlaybackPercent | ) |
Called as a sound plays on the audio component to allow BP to perform actions based on playback percentage. Computed as samples played divided by total samples, taking into account pitch.
| DECLARE_MULTICAST_DELEGATE_FourParams | ( | FOnWavePlaybackPercentNative | , |
| const class UAtomWavePlayer * | , | ||
| const class USoundAtomCue * | , | ||
| int32 | , | ||
| const float | ) |
shadow delegate declaration for above
| DECLARE_MULTICAST_DELEGATE_OneParam | ( | FOnWaveFinishedNative | , |
| class UAtomWavePlayer * | ) |
shadow delegate declaration for above