Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/AudioVirtualLoop.h |
Include | #include "AudioVirtualLoop.h" |
Syntax
struct FAudioVirtualLoop
Remarks
Class that tracks virtualized looping active sounds that are eligible to revive re-trigger as long as no stop request is received from the game thread.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Overrides the update interval to the provided length | |
![]() |
FActiveSound & | Returns the internally-managed active sound | |
![]() ![]() |
const FActiveSound & | ||
![]() ![]() |
float | Returns the time the sound has been virtualized | |
![]() ![]() |
float | Returns the wait interval being observed before next update | |
![]() ![]() |
bool | IsEnabled () |
Whether the virtual loop system is enabled or not |
![]() ![]() |
bool | ShouldListenerMoveForceUpdate
(
const FTransform& LastTransform, |
Check to see if listener move is far enough such that a check for virtual loop realization is necessary |
![]() |
bool | Update
(
float DeltaTime, |
Updates the loop and checks if ready to play (or 'realize'). |
![]() |
void | UpdateFocusData
(
float DeltaTime |
Takes aggregate update delta and updates focus so that realization check can test if ready to play. |
![]() ![]() |
bool | Virtualize
(
const FActiveSound& InActiveSound, |
Checks if provided active sound is available to be virtualized. |
![]() ![]() |
bool | Virtualize
(
const FActiveSound& InActiveSound, |
Checks if provided active sound is available to be virtualized. |