载入中...
搜索中...
未找到
eve::daynight::PcgLightingAmbientPhotoMode类 参考final

Explicit Lighting owner for Pcg ambient colors and global light multiplier. @lifetime The borrowed DayNight target must outlive this authority or be detached first. @thread Game thread only; assignments are synchronous and invoke no callbacks or scripts. 更多...

#include <PcgLightingAmbientPhotoMode.h>

类 eve::daynight::PcgLightingAmbientPhotoMode 继承关系图:
eve::IPhotoModeFieldSink

Public 成员函数

 ~PcgLightingAmbientPhotoMode () override
 Pcg lighting ambient photo mode.
 
void setTarget (DayNight *target) noexcept
 Attach a borrowed DayNight target and seed local state from it.
 
void setAuthority (bool enabled)
 Register or revoke ownership of the five ambient-light fields.
 
PhotoModeFieldAcceptance acceptsPhotoModeField (const PhotoModeAssignment &assignment) const noexcept override
 Accept only Pcg ambient and global-light assignments.
 
Result< void > applyPhotoModeField (const PhotoModeAssignment &assignment) override
 Validate and atomically project one field through DayNight.
 
- Public 成员函数 继承自 eve::IPhotoModeFieldSink
virtual ~IPhotoModeFieldSink ()=default
 Releases IPhotoModeFieldSink resources.
 

额外继承的成员函数

- 静态 Public 属性 继承自 eve::IPhotoModeFieldSink
static constexpr const char * capabilityName ="eve.photo-mode.field"
 

详细描述

Explicit Lighting owner for Pcg ambient colors and global light multiplier. @lifetime The borrowed DayNight target must outlive this authority or be detached first. @thread Game thread only; assignments are synchronous and invoke no callbacks or scripts.

在文件 PcgLightingAmbientPhotoMode.h 第 15 行定义.

构造及析构函数说明

◆ ~PcgLightingAmbientPhotoMode()

eve::daynight::PcgLightingAmbientPhotoMode::~PcgLightingAmbientPhotoMode ( )
override

Pcg lighting ambient photo mode.

在文件 PcgLightingAmbientPhotoMode.cpp 第 16 行定义.

引用了 eve::daynight::DayNight::setPcgAmbientLight() , 以及 eve::Result< void >::value().

成员函数说明

◆ acceptsPhotoModeField()

PhotoModeFieldAcceptance eve::daynight::PcgLightingAmbientPhotoMode::acceptsPhotoModeField ( const PhotoModeAssignment &  assignment) const
overridevirtualnoexcept

Accept only Pcg ambient and global-light assignments.

实现了 eve::IPhotoModeFieldSink.

在文件 PcgLightingAmbientPhotoMode.cpp 第 44 行定义.

引用了 eve::Accepted, accepts, eve::Lighting , 以及 eve::Rejected.

◆ applyPhotoModeField()

◆ setAuthority()

void eve::daynight::PcgLightingAmbientPhotoMode::setAuthority ( bool  enabled)

Register or revoke ownership of the five ambient-light fields.

在文件 PcgLightingAmbientPhotoMode.cpp 第 31 行定义.

引用了 eve::daynight::PcgAmbientLightState::active, enabled, eve::daynight::DayNight::setPcgAmbientLight() , 以及 eve::Result< void >::value().

◆ setTarget()

void eve::daynight::PcgLightingAmbientPhotoMode::setTarget ( DayNight *  target)
noexcept

Attach a borrowed DayNight target and seed local state from it.

在文件 PcgLightingAmbientPhotoMode.cpp 第 23 行定义.

引用了 target.


该类的文档由以下文件生成: