Module-owned adapter for one scene component payload type. 更多...
#include <SceneComponentPayload.h>
Public 成员函数 | |
| ~ISceneComponentPayloadProvider () override=default | |
| Releases ISceneComponentPayloadProvider resources. | |
| virtual const std::string & | componentType () const =0 |
| Stable component type handled by this provider. | |
| virtual std::vector< SceneComponentPayloadRef > | components (const TargetId &scene, const ObjectId &object) const =0 |
| Enumerate immutable component references attached to one object. | |
| virtual Result< IDomainOperationTarget * > | payloadOperationTarget (const SelectionSnapshot &selection) const =0 |
| Resolve the authoritative mutation target for one component selection. | |
| virtual std::vector< EditorDiagnostic > | validateComponent (const SceneComponentPayloadRef &component) const =0 |
| Validate the current payload and return inspector diagnostics. | |
Public 成员函数 继承自 eve::editing::IPropertyProvider | |
| virtual | ~IPropertyProvider ()=default |
| Releases IPropertyProvider resources. | |
| virtual eve::Result< eve::Revision > | currentRevision (const SelectionSnapshot &selection) const |
| Current revision. | |
| virtual PropertySchema | schema (const SelectionSnapshot &selection) const =0 |
| Schema. | |
| virtual PropertyReadResult | read (const SelectionSnapshot &selection, const PropertyPath &path) const =0 |
| Reads read. | |
| virtual Result< DomainOperation > | makeSet (const SelectionSnapshot &selection, const PropertyPath &path, const Value &value, PropertySetMode mode) const =0 |
| Make set. | |
| virtual Result< DomainOperation > | makeReset (const SelectionSnapshot &selection, const PropertyPath &path) const =0 |
| Make reset. | |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 eve::editing::IPropertyProvider | |
| static CapabilityId | editingCapabilityId () |
| Stable capability identity for generic property editing. | |
详细描述
Module-owned adapter for one scene component payload type.
Implementations retain ownership of component data and expose it through the shared property and operation protocols. Editable adapters should also implement IDomainOperationTargetStaging so standard undo remains atomic.
在文件 SceneComponentPayload.h 第 37 行定义.
构造及析构函数说明
◆ ~ISceneComponentPayloadProvider()
|
overridedefault |
Releases ISceneComponentPayloadProvider resources.
成员函数说明
◆ components()
|
pure virtual |
Enumerate immutable component references attached to one object.
◆ componentType()
|
pure virtual |
Stable component type handled by this provider.
在 eve::scene_editing::SceneComponentPropertyBindings 内被实现.
被这些函数引用 eve::scene_editing::SceneComponentPayloadRegistry::registerProvider() , 以及 eve::scene_editing::SceneComponentPayloadRegistry::unregisterProvider().
◆ payloadOperationTarget()
|
pure virtual |
Resolve the authoritative mutation target for one component selection.
◆ validateComponent()
|
pure virtual |
Validate the current payload and return inspector diagnostics.
该类的文档由以下文件生成:
- src/modules/scene/editing/SceneComponentPayload.h
Public 成员函数 继承自