|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#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 | ( | FAtomConcurrencyGroupId | GroupID, |
| const FAtomConcurrencyHandle & | ConcurrencyHandle ) |
Constructor for the max concurrency active sound entry.
| void FAtomConcurrencyGroup::AddActiveSound | ( | FAtomActiveSound & | ActiveSound | ) |
Adds an active sound to the active sound array.
| bool FAtomConcurrencyGroup::CanPlaySoundNow | ( | float | InCurrentTime | ) | const |
Whether or not a sound would be rate limited if it tried to play right now.
| void FAtomConcurrencyGroup::CullSoundsDueToMaxConcurrency | ( | ) |
Sorts the active sound if concurrency settings require culling post playback
|
static |
|
inline |
Returns the active sounds array.
|
inline |
Returns the id of the concurrency group
|
inline |
Returns the current generation (effectively, the number of concurrency sound instances active)
|
inline |
Returns the parent object ID
|
inline |
Returns the settings associated with the group
|
inline |
Determines if the group is full.
|
inline |
Determines if the group is full.
| void FAtomConcurrencyGroup::RemoveActiveSound | ( | FAtomActiveSound & | ActiveSound | ) |
Removes an active sound from the active sound array.
|
inline |
Sets when the last time a sound was played on this concurrency group.
| void FAtomConcurrencyGroup::UpdateGeneration | ( | FAtomActiveSound * | NewActiveSound = nullptr | ) |
Updates volume based on distance generation if set as VolumeScaleMode
|
private |
Array of active sounds for this concurrency group.
|
private |
|
private |
When a sound last played on this concurrency group.
|
private |
|
private |