#include <AtomConcurrency.h>
|
| FAtomConcurrencyGroup * | CanPlaySound (const FAtomActiveSound &NewActiveSound, const FAtomConcurrencyGroupId GroupID, TArray< FAtomActiveSound * > &OutSoundsToEvict, bool bIsRetriggering, bool bIsRealizing, bool &bOutEvictNew) |
| FAtomActiveSound * | CreateAndEvictActiveSounds (FAtomActiveSound &NewActiveSound, const TArray< FAtomConcurrencyGroup * > &GroupsToApply, const TArray< FAtomActiveSound * > &SoundsToEvict, bool bIsRealizing, bool bEvictNewActiveSound) |
| FAtomConcurrencyGroup & | CreateNewConcurrencyGroup (const FAtomConcurrencyHandle &ConcurrencyHandle) |
| void | CreateNewGroupsFromHandles (const FAtomActiveSound &NewActiveSound, const TArray< FAtomConcurrencyHandle > &ConcurrencyHandles, TArray< FAtomConcurrencyGroup * > &OutGroupsToApply) |
| FAtomActiveSound * | EvaluateConcurrency (FAtomActiveSound &NewActiveSound, TArray< FAtomConcurrencyHandle > &ConcurrencyHandles, bool bIsRetriggering, bool bIsRealizing) |
| bool | EvaluateConcurrencyInternal (const FAtomActiveSound &NewActiveSound, TArray< FAtomConcurrencyHandle > &ConcurrencyHandles, TArray< FAtomConcurrencyGroup * > &GroupsToApply, TArray< FAtomActiveSound * > &SoundsToEvictbool, bool bIsRetriggering, bool bIsRealizing, bool &bOutEvictNew) |
| FAtomActiveSound * | GetEvictableSound (const FAtomActiveSound &NewActiveSound, const FAtomConcurrencyGroup &ConcurrencyGroup, bool bIsRetriggering) |
| FAtomActiveSound * | GetEvictableSoundStopFarthest (const FAtomActiveSound &NewActiveSound, const FAtomConcurrencyGroup &ConcurrencyGroup, bool bIsRetriggering) const |
| FAtomActiveSound * | GetEvictableSoundStopLowestPriority (const FAtomActiveSound &NewActiveSound, const FAtomConcurrencyGroup &ConcurrencyGroup, bool bIsRetriggering) const |
| FAtomActiveSound * | GetEvictableSoundStopOldest (const FAtomActiveSound &NewActiveSound, const FAtomConcurrencyGroup &ConcurrencyGroup, bool bIsRetriggering) const |
| FAtomActiveSound * | GetEvictableSoundStopQuietest (const FAtomActiveSound &NewActiveSound, const FAtomConcurrencyGroup &ConcurrencyGroup, bool bIsRetriggering) const |
◆ FAtomConcurrencyManager()
| FAtomConcurrencyManager::FAtomConcurrencyManager |
( |
FAtomRuntime * | InAtomRuntime | ) |
|
◆ ~FAtomConcurrencyManager()
| FAtomConcurrencyManager::~FAtomConcurrencyManager |
( |
| ) |
|
◆ AddActiveSound()
Try to add an existing active sound. Will return false if the active sound concurrency evaluation doesn't allow for it.
◆ CanPlaySound()
Evaluates whether or not the sound can play given the concurrency group's rules. Appends permissible sounds to evict in order for sound to play (if required) and returns the desired concurrency group.
◆ CreateAndEvictActiveSounds()
Creates an active sound to play, assigning it to the provided concurrency groups, and evicting required sounds
◆ CreateNewActiveSound()
Returns a newly allocated active sound given the input active sound struct. Will return nullptr if the active sound concurrency evaluation doesn't allow for it.
◆ CreateNewConcurrencyGroup()
Creates a new concurrency group and returns pointer to said group
◆ CreateNewGroupsFromHandles()
Creates new concurrency groups from handle array
◆ EvaluateActiveSound()
| bool FAtomConcurrencyManager::EvaluateActiveSound |
( |
const FAtomActiveSound & | ActiveSound, |
|
|
bool | bIsRetriggering ) |
Evaluates whether active sound can be added to concurency tracking. Will return false if the active sound concurrency evaluation doesn't allow for it.
◆ EvaluateConcurrency()
Handles concurrency evaluation that happens per UAtomConcurrencyObject.
◆ EvaluateConcurrencyInternal()
◆ GetEvictableSound()
Finds an active sound able to be evicted based on the provided concurrency settings.
◆ GetEvictableSoundStopFarthest()
Helper functions for finding evictable sounds for the given concurrency rule.
◆ GetEvictableSoundStopLowestPriority()
◆ GetEvictableSoundStopOldest()
◆ GetEvictableSoundStopQuietest()
◆ IterateOverConcurrencyGroups()
| void FAtomConcurrencyManager::IterateOverConcurrencyGroups |
( |
TFunctionRef< void(FAtomConcurrencyGroup *)> | Func | ) |
const |
◆ RemoveActiveSound()
| void FAtomConcurrencyManager::RemoveActiveSound |
( |
FAtomActiveSound & | ActiveSound | ) |
|
Removes the active sound from concurrency tracking when active sound is stopped.
◆ ResetConcurrency()
| void FAtomConcurrencyManager::ResetConcurrency |
( |
| ) |
|
◆ StopDueToVoiceStealing()
| void FAtomConcurrencyManager::StopDueToVoiceStealing |
( |
FAtomActiveSound & | ActiveSound | ) |
|
Stops sound, applying concurrency rules for how to stop.
◆ UpdateSoundsToCull()
| void FAtomConcurrencyManager::UpdateSoundsToCull |
( |
| ) |
|
Culls any active sounds due to max concurrency sound resolution rule constraints being met
◆ UpdateVolumeScaleGenerations()
| void FAtomConcurrencyManager::UpdateVolumeScaleGenerations |
( |
| ) |
|
Updates generations for concurrency groups set to scale active sound volumes by distance or priority
◆ AtomRuntime
Owning Atom runtime ptr for the concurrency manager.
◆ ConcurrencyGroups
A map of concurrency active sound ID to concurrency active sounds
◆ ConcurrencyMap
Global concurrency map that maps individual sounds instances to shared UAtomConcurrency UObjects.
◆ OwnerConcurrencyMap
◆ OwnerPerSoundConcurrencyMap
A map of owners to concurrency maps for sounds which are concurrency-limited per sound owner.
◆ SoundObjectToConcurrencyGroup
Map of sound objects concurrency-limited globally
このクラス詳解は次のファイルから抽出されました:
- C:/git/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Public/Atom/AtomConcurrency.h
- C:/git/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Private/Atom/AtomConcurrency.cpp