Explicit Lighting-field owner that projects Pcg time settings into DayNight. @lifetime The borrowed DayNight target must outlive this authority or be detached before destruction. @thread Game thread only; no callbacks or scripts are invoked. 更多...
#include <PcgLightingTimePhotoMode.h>
Public 成员函数 | |
| ~PcgLightingTimePhotoMode () override | |
| Pcg lighting time photo mode. | |
| void | setTarget (DayNight *target) noexcept |
| Attach a borrowed DayNight target. | |
| void | setAuthority (bool enabled) |
| Register or revoke this instance as owner of the three Pcg time fields. | |
| PhotoModeFieldAcceptance | acceptsPhotoModeField (const PhotoModeAssignment &assignment) const noexcept override |
| Accepts photo mode field. | |
| Result< void > | applyPhotoModeField (const PhotoModeAssignment &assignment) override |
| Applies photo mode field. | |
Public 成员函数 继承自 eve::IPhotoModeFieldSink | |
| virtual | ~IPhotoModeFieldSink ()=default |
| Releases IPhotoModeFieldSink resources. | |
额外继承的成员函数 | |
静态 Public 属性 继承自 eve::IPhotoModeFieldSink | |
| static constexpr const char * | capabilityName ="eve.photo-mode.field" |
详细描述
Explicit Lighting-field owner that projects Pcg time settings into DayNight. @lifetime The borrowed DayNight target must outlive this authority or be detached before destruction. @thread Game thread only; no callbacks or scripts are invoked.
在文件 PcgLightingTimePhotoMode.h 第 16 行定义.
构造及析构函数说明
◆ ~PcgLightingTimePhotoMode()
|
override |
Pcg lighting time photo mode.
在文件 PcgLightingTimePhotoMode.cpp 第 10 行定义.
成员函数说明
◆ acceptsPhotoModeField()
|
overridevirtualnoexcept |
Accepts photo mode field.
在文件 PcgLightingTimePhotoMode.cpp 第 21 行定义.
引用了 eve::Accepted, eve::Lighting , 以及 eve::Rejected.
◆ applyPhotoModeField()
|
overridevirtual |
Applies photo mode field.
在文件 PcgLightingTimePhotoMode.cpp 第 30 行定义.
引用了 code, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::PhotoModeAssignment::field, eve::InvalidArgument, message, eve::daynight::DayNight::setPaused(), eve::daynight::DayNight::setSpeed(), eve::daynight::DayNight::setTimeOfDay(), eve::Result< T >::success(), eve::Unsupported, eve::PhotoModeAssignment::value , 以及 value.
◆ setAuthority()
| void eve::daynight::PcgLightingTimePhotoMode::setAuthority | ( | bool | enabled | ) |
Register or revoke this instance as owner of the three Pcg time fields.
在文件 PcgLightingTimePhotoMode.cpp 第 14 行定义.
引用了 enabled.
◆ setTarget()
|
inlinenoexcept |
该类的文档由以下文件生成:
- src/modules/daynight/PcgLightingTimePhotoMode.h
- src/modules/daynight/PcgLightingTimePhotoMode.cpp
Public 成员函数 继承自