CriWare Unreal Engine
Plug-ins for CriWare solutions.
読み取り中…
検索中…
一致する文字列を見つけられません
FAtomConcurrencyGroup クラス

#include <AtomConcurrency.h>

公開メンバ関数

 FAtomConcurrencyGroup (FAtomConcurrencyGroupId GroupID, const FAtomConcurrencyHandle &ConcurrencyHandle)
void AddActiveSound (FAtomActiveSound &ActiveSound)
bool CanPlaySoundNow (float InCurrentTime) const
void CullSoundsDueToMaxConcurrency ()
const TArray< FAtomActiveSound * > & GetActiveSounds () const
FAtomConcurrencyGroupId GetGroupID () const
const int32 GetNextGeneration () const
FAtomConcurrencyObjectId GetObjectID () const
const FAtomConcurrencySettings & GetSettings () const
bool IsEmpty () const
bool IsFull () const
void RemoveActiveSound (FAtomActiveSound &ActiveSound)
void SetLastTimePlayed (float InLastTimePlayed)
void UpdateGeneration (FAtomActiveSound *NewActiveSound=nullptr)

静的公開メンバ関数

static FAtomConcurrencyGroupId GenerateNewID ()

非公開変数類

TArray< FAtomActiveSound * > ActiveSounds
FAtomConcurrencyGroupId GroupID
float LastTimePlayed = 0.0f
FAtomConcurrencyObjectId ObjectID
FAtomConcurrencySettings Settings

詳解

Class which tracks array of active sound pointers for concurrency management

構築子と解体子

◆ FAtomConcurrencyGroup()

FAtomConcurrencyGroup::FAtomConcurrencyGroup ( FAtomConcurrencyGroupId GroupID,
const FAtomConcurrencyHandle & ConcurrencyHandle )

Constructor for the max concurrency active sound entry.

関数詳解

◆ AddActiveSound()

void FAtomConcurrencyGroup::AddActiveSound ( FAtomActiveSound & ActiveSound)

Adds an active sound to the active sound array.

◆ CanPlaySoundNow()

bool FAtomConcurrencyGroup::CanPlaySoundNow ( float InCurrentTime) const

Whether or not a sound would be rate limited if it tried to play right now.

◆ CullSoundsDueToMaxConcurrency()

void FAtomConcurrencyGroup::CullSoundsDueToMaxConcurrency ( )

Sorts the active sound if concurrency settings require culling post playback

◆ GenerateNewID()

FAtomConcurrencyGroupId FAtomConcurrencyGroup::GenerateNewID ( )
static

◆ GetActiveSounds()

const TArray< FAtomActiveSound * > & FAtomConcurrencyGroup::GetActiveSounds ( ) const
inline

Returns the active sounds array.

◆ GetGroupID()

FAtomConcurrencyGroupId FAtomConcurrencyGroup::GetGroupID ( ) const
inline

Returns the id of the concurrency group

◆ GetNextGeneration()

const int32 FAtomConcurrencyGroup::GetNextGeneration ( ) const
inline

Returns the current generation (effectively, the number of concurrency sound instances active)

◆ GetObjectID()

FAtomConcurrencyObjectId FAtomConcurrencyGroup::GetObjectID ( ) const
inline

Returns the parent object ID

◆ GetSettings()

const FAtomConcurrencySettings & FAtomConcurrencyGroup::GetSettings ( ) const
inline

Returns the settings associated with the group

◆ IsEmpty()

bool FAtomConcurrencyGroup::IsEmpty ( ) const
inline

Determines if the group is full.

◆ IsFull()

bool FAtomConcurrencyGroup::IsFull ( ) const
inline

Determines if the group is full.

◆ RemoveActiveSound()

void FAtomConcurrencyGroup::RemoveActiveSound ( FAtomActiveSound & ActiveSound)

Removes an active sound from the active sound array.

◆ SetLastTimePlayed()

void FAtomConcurrencyGroup::SetLastTimePlayed ( float InLastTimePlayed)
inline

Sets when the last time a sound was played on this concurrency group.

◆ UpdateGeneration()

void FAtomConcurrencyGroup::UpdateGeneration ( FAtomActiveSound * NewActiveSound = nullptr)

Updates volume based on distance generation if set as VolumeScaleMode

メンバ詳解

◆ ActiveSounds

TArray<FAtomActiveSound*> FAtomConcurrencyGroup::ActiveSounds
private

Array of active sounds for this concurrency group.

◆ GroupID

FAtomConcurrencyGroupId FAtomConcurrencyGroup::GroupID
private

◆ LastTimePlayed

float FAtomConcurrencyGroup::LastTimePlayed = 0.0f
private

When a sound last played on this concurrency group.

◆ ObjectID

FAtomConcurrencyObjectId FAtomConcurrencyGroup::ObjectID
private

◆ Settings

FAtomConcurrencySettings FAtomConcurrencyGroup::Settings
private

このクラス詳解は次のファイルから抽出されました:
  • C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Public/Atom/AtomConcurrency.h
  • C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Private/Atom/AtomConcurrency.cpp