CriWare Unreal Engine
Plug-ins for CriWare solutions.
载入中...
搜索中...
未找到
AtomConcurrency.h 文件参考
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#include "AtomConcurrency.generated.h"

类

class  FAtomConcurrencyGroup
struct  FAtomConcurrencyHandle
class  FAtomConcurrencyManager
struct  FAtomConcurrencySettings
struct  FAtomConcurrencySoundData
struct  FAtomOwnerConcurrencyMapEntry
struct  FAtomSoundInstanceEntry
class  UAtomConcurrency

类型定义

using FAtomConcurrencyGroupId = uint32
typedef TMap< FAtomConcurrencyGroupId, FAtomConcurrencyGroup * > FAtomConcurrencyGroups
typedef TMap< FAtomConcurrencyObjectId, FAtomConcurrencyGroupId > FAtomConcurrencyMap
using FAtomConcurrencyObjectId = uint32
typedef TMap< FAtomSoundOwnerObjectId, FAtomOwnerConcurrencyMapEntry > FAtomOwnerConcurrencyMap
typedef TMap< FAtomSoundOwnerObjectId, FAtomSoundInstanceEntry > FAtomOwnerPerSoundConcurrencyMap
typedef TMap< FAtomSoundObjectId, FAtomConcurrencyGroupId > FAtomPerSoundToActiveSoundsMap
using FAtomSoundObjectId = uint32
using FAtomSoundOwnerObjectId = uint32

枚举

enum class  EAtomConcurrencyMode : uint8 { Group , Owner , OwnerPerSound , Sound }
enum class  EAtomConcurrencyVolumeScaleMode { Default = 0 , Distance , Priority }
enum class  EAtomMaxConcurrentResolutionRule {
  PreventNew , StopOldest , StopFarthestThenPreventNew , StopFarthestThenOldest ,
  StopLowestPriority , StopQuietest , StopLowestPriorityThenPreventNew , Count
}

函数

CRIWARECORE_API DECLARE_LOG_CATEGORY_EXTERN (LogCriWareAtomConcurrency, Log, All)
const TCHAR * ToString (EAtomMaxConcurrentResolutionRule Rule)

类型定义说明

◆ FAtomConcurrencyGroupId

using FAtomConcurrencyGroupId = uint32

Sound concurrency group ID.

◆ FAtomConcurrencyGroups

◆ FAtomConcurrencyMap

Type for mapping an object id to a concurrency entry.

◆ FAtomConcurrencyObjectId

using FAtomConcurrencyObjectId = uint32

Sound concurrency unique object IDs.

◆ FAtomOwnerConcurrencyMap

Maps owners to concurrency maps

◆ FAtomOwnerPerSoundConcurrencyMap

◆ FAtomPerSoundToActiveSoundsMap

Maps sound object ids to active sound array for global concurrency limiting

◆ FAtomSoundObjectId

using FAtomSoundObjectId = uint32

Sound instance (UAtomSoundBase) object ID.

◆ FAtomSoundOwnerObjectId

using FAtomSoundOwnerObjectId = uint32

Sound owner object IDs

枚举类型说明

◆ EAtomConcurrencyMode

enum class EAtomConcurrencyMode : uint8
strong

How the concurrency request is handled by the concurrency manager

枚举值
Group 
Owner 
OwnerPerSound 
Sound 

◆ EAtomConcurrencyVolumeScaleMode

枚举值
Default 
Distance 
Priority 

◆ EAtomMaxConcurrentResolutionRule

枚举值
PreventNew 

When Max Concurrent sounds are active do not start a new sound.

StopOldest 

When Max Concurrent sounds are active stop the oldest and start a new one.

StopFarthestThenPreventNew 

When Max Concurrent sounds are active stop the furthest sound. If all sounds are the same distance then do not start a new sound.

StopFarthestThenOldest 

When Max Concurrent sounds are active stop the furthest sound. If all sounds are the same distance then stop the oldest.

StopLowestPriority 

Stop the lowest priority sound in the group. If all sounds are the same priority, then it will stop the oldest sound in the group.

StopQuietest 

Stop the sound that is quietest in the group.

StopLowestPriorityThenPreventNew 

Stop the lowest priority sound in the group. If all sounds are the same priority, then it won't play a new sound.

Count 

函数说明

◆ DECLARE_LOG_CATEGORY_EXTERN()

CRIWARECORE_API DECLARE_LOG_CATEGORY_EXTERN ( LogCriWareAtomConcurrency ,
Log ,
All  )

◆ ToString()

const TCHAR * ToString ( EAtomMaxConcurrentResolutionRule Rule)
inline