载入中...
搜索中...
未找到
eve::housegen_editing::HouseGenPreviewRuntime类 参考

Candidate generation containing a validated library and deterministic layout. 更多...

#include <HouseGenTarget.h>

Public 成员函数

 HouseGenPreviewRuntime ()
 House gen preview runtime.
 
 ~HouseGenPreviewRuntime ()
 House gen preview runtime.
 
Result< void > publish (const HouseGenDocumentTarget &document)
 Generate entirely in temporary state before replacing the active preview.
 
Result< EditorGizmoSnapshot > gizmo (Revision expectedRevision) const
 Build grid cells, component bounds and room overlays for the active generation.
 
const housegen::HouseLayout * layout () const
 Access the published layout.
 
const housegen::HouseComponentLibrary * library () const
 Access the published component library.
 
Revision revision () const
 Revision.
 

详细描述

Candidate generation containing a validated library and deterministic layout.

在文件 HouseGenTarget.h 第 122 行定义.

构造及析构函数说明

◆ HouseGenPreviewRuntime()

eve::housegen_editing::HouseGenPreviewRuntime::HouseGenPreviewRuntime ( )
default

House gen preview runtime.

◆ ~HouseGenPreviewRuntime()

eve::housegen_editing::HouseGenPreviewRuntime::~HouseGenPreviewRuntime ( )
default

House gen preview runtime.

成员函数说明

◆ gizmo()

Result< EditorGizmoSnapshot > eve::housegen_editing::HouseGenPreviewRuntime::gizmo ( Revision  expectedRevision) const

Build grid cells, component bounds and room overlays for the active generation.

在文件 HouseGenRuntime.cpp 第 38 行定义.

引用了 c, eve::editing::GizmoPrimitive::id, index, p, eve::editing::GizmoSnapshot::primitives, eve::editing::GizmoSnapshot::status, eve::editing::GizmoSnapshot::target , 以及 eve::editing::GizmoSnapshot::targetRevision.

◆ layout()

const housegen::HouseLayout * eve::housegen_editing::HouseGenPreviewRuntime::layout ( ) const
inline

Access the published layout.

返回
Borrowed pointer owned by this runtime. @lifetime Valid until the next successful publish or destruction.

在文件 HouseGenTarget.h 第 134 行定义.

被这些函数引用 publish().

◆ library()

const housegen::HouseComponentLibrary * eve::housegen_editing::HouseGenPreviewRuntime::library ( ) const
inline

Access the published component library.

返回
Borrowed pointer owned by this runtime. @lifetime Valid until the next successful publish or destruction.

在文件 HouseGenTarget.h 第 137 行定义.

被这些函数引用 publish().

◆ publish()

◆ revision()

Revision eve::housegen_editing::HouseGenPreviewRuntime::revision ( ) const
inline

Revision.

在文件 HouseGenTarget.h 第 139 行定义.


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