载入中...
搜索中...
未找到
eve::audio::AudioZoneProfile类 参考
Caller-owned Pcg audio-zone configuration and track list. 更多...
#include <AudioZone.h>
Public 成员函数 | |
| Result< int > | addItem (const AudioZoneItem &item) |
| Add one validated track profile. | |
| int | itemCount () const noexcept |
| const AudioZoneItem * | itemAt (int index) const noexcept |
| Borrow track data. | |
Public 属性 | |
| float | x =0.f |
| float | y =0.f |
| float | z =0.f |
| float | radius =30.f |
| float | minimumBreakTime =5.f |
| float | maximumBreakTime =10.f |
| float | deactivationTime =10.f |
| bool | global =false |
详细描述
Caller-owned Pcg audio-zone configuration and track list.
在文件 AudioZone.h 第 18 行定义.
成员函数说明
◆ addItem()
| Result< int > eve::audio::AudioZoneProfile::addItem | ( | const AudioZoneItem & | item | ) |
Add one validated track profile.
在文件 AudioZone.cpp 第 13 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, itemCount() , 以及 eve::Result< T >::success().
◆ itemAt()
|
noexcept |
Borrow track data.
- 返回
- Non-owning pointer, or null for an invalid index. @ownership This profile retains ownership. @lifetime Valid until this profile is destroyed or its next addItem call.
在文件 AudioZone.cpp 第 18 行定义.
引用了 index.
◆ itemCount()
|
inlinenoexcept |
在文件 AudioZone.h 第 24 行定义.
被这些函数引用 addItem().
类成员变量说明
◆ deactivationTime
| float eve::audio::AudioZoneProfile::deactivationTime =10.f |
在文件 AudioZone.h 第 20 行定义.
◆ global
| bool eve::audio::AudioZoneProfile::global =false |
在文件 AudioZone.h 第 21 行定义.
◆ maximumBreakTime
| float eve::audio::AudioZoneProfile::maximumBreakTime =10.f |
在文件 AudioZone.h 第 20 行定义.
◆ minimumBreakTime
| float eve::audio::AudioZoneProfile::minimumBreakTime =5.f |
在文件 AudioZone.h 第 20 行定义.
◆ radius
| float eve::audio::AudioZoneProfile::radius =30.f |
在文件 AudioZone.h 第 20 行定义.
◆ x
| float eve::audio::AudioZoneProfile::x =0.f |
在文件 AudioZone.h 第 20 行定义.
◆ y
| float eve::audio::AudioZoneProfile::y =0.f |
在文件 AudioZone.h 第 20 行定义.
◆ z
| float eve::audio::AudioZoneProfile::z =0.f |
在文件 AudioZone.h 第 20 行定义.
该类的文档由以下文件生成:
- src/modules/audio/AudioZone.h
- src/modules/audio/AudioZone.cpp