载入中...
搜索中...
未找到
eve::lighting_editing::EnvironmentDocumentTarget类 参考final

Serializable shared environment target for static, DayNight and Weather modes. 更多...

#include <LightingTarget.h>

类 eve::lighting_editing::EnvironmentDocumentTarget 继承关系图:
eve::lighting_editing::LightingPropertyTargetBase eve::editing::EditableTargetState eve::editing::IEditableTarget eve::editing::IDomainOperationTarget eve::editing::IPropertyProvider eve::editing::IEditableTarget eve::editing::IEditableTarget

Public 成员函数

 EnvironmentDocumentTarget (std::string id)
 Environment document target.
 
std::vector< EditorDiagnostic > validate () const
 Validate mode-dependent atmosphere and weather settings.
 
- Public 成员函数 继承自 eve::lighting_editing::LightingPropertyTargetBase
TargetId targetId () const override
 Target id.
 
TargetDescriptor describe () const override
 Describe.
 
void * queryCapability (const CapabilityId &capability) override
 Query an optional target capability.
 
Result< void > applyDomainOperation (const DomainOperation &operation) override
 Applies domain operation.
 
eve::Result< eve::Revision > currentRevision (const SelectionSnapshot &selection) const override
 Current revision.
 
PropertySchema schema (const SelectionSnapshot &selection) const override
 Schema.
 
PropertyReadResult read (const SelectionSnapshot &selection, const PropertyPath &path) const override
 Reads .
 
Result< DomainOperation > makeSet (const SelectionSnapshot &selection, const PropertyPath &path, const EditorValue &value, PropertySetMode mode) const override
 Make set.
 
Result< DomainOperation > makeReset (const SelectionSnapshot &selection, const PropertyPath &path) const override
 Make reset.
 
EditorValue snapshotValue () const
 Capture deterministic values for document persistence.
 
Result< void > loadSnapshot (const EditorValue &snapshot)
 Atomically load a schema-version-one property snapshot.
 
const EditorValue * value (const std::string &path) const
 Read a typed runtime-neutral property value by path.
 
- Public 成员函数 继承自 eve::editing::EditableTargetState
 EditableTargetState (Revision initial=1)
 Constructs the shared state with an explicit initial revision.
 
EditRegion dirtyRegion () const override
 Return the accumulated dirty region.
 
void clearDirtyRegion () override
 Discard the dirty region; the revision does not change.
 
std::uint64_t revision () const override
 Return the current revision.
 
Revision revisionValue () const noexcept
 Return the revision as the shared protocol revision type.
 
- Public 成员函数 继承自 eve::editing::IEditableTarget
virtual ~IEditableTarget ()=default
 Releases IEditableTarget resources.
 
template<class C >
eve::OptionalRef< C > capability ()
 Query a capability through its interface-owned stable identity.
 
template<class C >
eve::OptionalRef< const C > capability () const
 Capability.
 
template<class C >
C * query ()
 Queries query.
 
template<class C >
const C * query () const
 Queries query.
 
- Public 成员函数 继承自 eve::editing::IDomainOperationTarget
 ~IDomainOperationTarget () override=default
 Releases IDomainOperationTarget resources.
 
- Public 成员函数 继承自 eve::editing::IPropertyProvider
virtual ~IPropertyProvider ()=default
 Releases IPropertyProvider resources.
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 eve::editing::IPropertyProvider
static CapabilityId editingCapabilityId ()
 Stable capability identity for generic property editing.
 
- Protected 成员函数 继承自 eve::lighting_editing::LightingPropertyTargetBase
 LightingPropertyTargetBase (std::string id, std::string targetType, PropertySchema schema)
 Construct a concrete property target from its schema and defaults.
 
- Protected 成员函数 继承自 eve::editing::EditableTargetState
void widenDirty (int x, int y)
 Widen the dirty region without advancing the revision.
 
void widenDirty (const EditRegion &region)
 Widen the dirty region without advancing the revision.
 
void widenDirty ()
 Mark an unknown area dirty without advancing the revision.
 
void bumpRevision ()
 Advance the revision without touching the dirty region.
 
void setRevision (Revision revision)
 Adopt a revision observed elsewhere, without advancing it.
 
void setDirtyRegion (const EditRegion &region)
 Replace the dirty region wholesale, without advancing the revision.
 
void markDirty (int x, int y)
 Include one cell in the dirty region and advance the revision.
 
void markDirty (const EditRegion &region)
 Include a whole region and advance the revision.
 
void markDirty ()
 Mark an unknown area dirty and advance the revision.
 

详细描述

Serializable shared environment target for static, DayNight and Weather modes.

在文件 LightingTarget.h 第 110 行定义.

构造及析构函数说明

◆ EnvironmentDocumentTarget()

eve::lighting_editing::EnvironmentDocumentTarget::EnvironmentDocumentTarget ( std::string  id)
explicit

Environment document target.

在文件 LightingTarget.cpp 第 292 行定义.

成员函数说明

◆ validate()

std::vector< EditorDiagnostic > eve::lighting_editing::EnvironmentDocumentTarget::validate ( ) const

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