engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FAudioVirtualLoop结构体 参考

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. 更多...

#include <AudioVirtualLoop.h>

Public 成员函数

void CalculateUpdateInterval ()
 Overrides the update interval to the provided length
 
FActiveSound & GetActiveSound ()
 Returns the internally-managed active sound
 
float GetTimeVirtualized () const
 Returns the time the sound has been virtualized
 
float GetUpdateInterval () const
 Returns the wait interval being observed before next update
 
bool Update (float DeltaTime, bool bForceUpdate)
 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.
 

静态 Public 成员函数

static bool IsEnabled ()
 Whether the virtual loop system is enabled or not
 
static bool ShouldListenerMoveForceUpdate (const FTransform &LastTransform, const FTransform &CurrentTransform)
 Check to see if listener move is far enough such that a check for virtual loop realization is necessary
 
static bool Virtualize (const FActiveSound &InActiveSound, bool bDoRangeCheck, FAudioVirtualLoop &OutVirtualLoop)
 Checks if provided active sound is available to be virtualized. 更多...
 

详细描述

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.

成员函数说明

◆ Update()

bool FAudioVirtualLoop::Update ( float  DeltaTime,
bool  bForceUpdate 
)

Updates the loop and checks if ready to play (or 'realize').

Returns whether or not the sound is ready to be realized.

◆ Virtualize()

static bool FAudioVirtualLoop::Virtualize ( const FActiveSound &  InActiveSound,
bool  bDoRangeCheck,
FAudioVirtualLoop &  OutVirtualLoop 
)
static

Checks if provided active sound is available to be virtualized.

If so, returns new active sound ready to be added to virtual loop management by parent audio device.


该结构体的文档由以下文件生成: