载入中...
搜索中...
未找到
eve::procgen_editing 命名空间参考

命名空间

namespace  detail
 

类

class  HeightmapTarget
 Non-owning scalar-field adapter for a live procedural heightmap. 更多...
 
class  ISplineBindingTransformSource
 Consumer-owned transform lookup contract used by spline binding. 更多...
 
class  ISplinePathDocumentEditTarget
 UI-neutral reversible spline editing capability. 更多...
 
struct  MeshModifierGraphCompileResult
 Structural compilation result for a procgen.meshModifier graph document. 更多...
 
class  MeshModifierGraphDomain
 UI-independent editor domain for the procgen mesh modifier graph. 更多...
 
struct  MeshModifierGraphPreviewResult
 Revision-tagged owning preview from a mesh modifier graph document. 更多...
 
class  MeshVertexAxisGizmoBuilder
 Renderer-neutral runtime vertex-selection axis gizmo adapter. 更多...
 
struct  PcgGraphCompileResult
 Result of compiling a generic editor graph into a PointGraph asset definition. 更多...
 
struct  PcgGraphMigrationResult
 Transactional result of upgrading an editor PCG graph to the current schema. 更多...
 
struct  PcgGraphPreviewMetric
 One node's isolated PointGraph preview telemetry for graph overlays. 更多...
 
struct  PcgGraphPreviewResult
 Revision-tagged result of compiling and executing an isolated editor preview. 更多...
 
class  PcgInstancePublisher
 Undoable publish/remove of spawn.mesh PointSet batches through Procgen scene sink. 更多...
 
class  PcgPointGraphDomain
 procgen.point editor graph domain backed by procgen::PointGraph schema. 更多...
 
class  PreparedRoadPresetEdit
 Opaque prepared state bound to one live document instance and revision. 更多...
 
class  ProcgenScriptDocumentTarget
 Revisioned Params document for a script-hosted procedural generator. 更多...
 
struct  ProcgenScriptModuleSpec
 Authored identity and reflected parameter schema for one script generator. 更多...
 
struct  RoadAuthorMetadata
 Author-only edge metadata; locks reject direct graph/binding edits, not inherited updates. 更多...
 
struct  RoadFacilityOverrides
 Per-facility instance patch; identity must exist in the resolved style. 更多...
 
struct  RoadMarkerOverride
 Explicit marker profile override, applied after preset and road defaults. 更多...
 
class  RoadNetworkEditTarget
 Transaction target that edits stable RoadNetwork node/edge ids. 更多...
 
struct  RoadPointOverrides
 Optional marker defaults; presence overrides the inherited value or unbound source profile. 更多...
 
class  RoadPresetDocument
 Single owner of source author graph, shared definitions, bindings and bounded undo history. Synchronous owner-thread only, callback-free; all inputs are owning copies. Resolved networks are derived values. 更多...
 
struct  RoadPresetDraft
 Owning edit builder; edges without preset bindings retain their authored source styles. 更多...
 
struct  RoadStyleOverrides
 Field-level author overrides; absent fields inherit, present arrays replace as a whole. 更多...
 
struct  RoadTypeBinding
 One edge binding; marker overrides follow inherited and road profile defaults. 更多...
 
struct  RoadTypePreset
 Stable document-local shared preset; parents form a bounded acyclic definition graph. 更多...
 
class  SceneQuerySplineBindingSource
 Optional-scene adapter for the UI-neutral spline binding contract. 更多...
 
struct  SplineBindingPose
 Value snapshot resolved from a bound transform source. 更多...
 
struct  SplineGizmoStyle
 Renderer-neutral appearance settings for spline viewport overlays. 更多...
 
class  SplinePathBinder
 Owning, pointer-free spline-to-transform binder with atomic document refresh. 更多...
 
struct  SplinePathControlPoint
 Stable authoring control point for a 3D spline path. 更多...
 
class  SplinePathDocument
 Owning spline authoring document with transactional operations and schema-versioned snapshots. 更多...
 
struct  SplinePathDragPreview
 Immutable renderer-neutral spline drag preview. 更多...
 
class  SplinePathDragSession
 UI-neutral ray picking and transient drag state for a spline document. @ownership Borrows the document; the caller must finish or cancel before destroying it. @thread Viewport/editor thread only; no callbacks are retained or invoked. 更多...
 
class  SplinePathGizmoBuilder
 Builds sampled path, anchor and Bezier handle overlay primitives. 更多...
 
struct  SplinePathSettings
 Spline authoring settings stored independently from runtime caches. 更多...
 
struct  SplinePointBinding
 Persistent link from one spline control point to one scene transform identity. 更多...
 
struct  TextureRecipePreviewArtifact
 TextureRecipePreviewArtifact public API. 更多...
 
class  TextureRecipePreviewRuntime
 Generates a candidate image and publishes it only after complete success. 更多...
 
class  TextureRecipeTarget
 Revisioned, schema-driven procedural texture recipe asset. 更多...
 

类型定义

using EditorStatus = editing::Status
 
using EditorValue = editing::Value
 
using EditorDiagnostic = editing::Diagnostic
 
template<class T >
using EditorResult = editing::Result< T >
 Procgen authoring result alias backed by the canonical editing result contract.
 

函数

EVENGINE_API_ORCHESTRATION editing::Result< int > applyHeightmapBrush (procgen::Heightmap *heightmap, float centerX, float centerY, float radius, float strength)
 Apply the legacy circular brush through the procgen authoring satellite.
 
std::unique_ptr< HeightmapTarget > createHeightmapTarget (std::string id, procgen::Heightmap *heightmap)
 Create a heightmap adapter.
 
editing::Result< void > registerRoadNetworkEditingCommands (editing::IEditingCommandRegistry &registry)
 Register stable road topology commands with an existing editing host.
 
Result< procgen::SplinePath > compileSplinePathSnapshot (const EditorValue &snapshot)
 Compile a version-one spline snapshot for isolated graph preview.
 

类型定义说明

◆ EditorDiagnostic

◆ EditorResult

template<class T >
using eve::procgen_editing::EditorResult = typedef editing::Result<T>

Procgen authoring result alias backed by the canonical editing result contract.

在文件 ProcgenEditingTypes.h 第 13 行定义.

◆ EditorStatus

◆ EditorValue

函数说明

◆ applyHeightmapBrush()

editing::Result< int > eve::procgen_editing::applyHeightmapBrush ( procgen::Heightmap *  heightmap,
float  centerX,
float  centerY,
float  radius,
float  strength 
)

Apply the legacy circular brush through the procgen authoring satellite.

参数
heightmapBorrowed target heightmap.
centerXBrush center in cell coordinates.
centerYBrush center in cell coordinates.
radiusNon-negative radius in cells.
strengthSigned center-height delta.
返回
Applied with the changed sample count, NoOp when strength is zero, or a validation failure.

在文件 HeightmapTarget.cpp 第 36 行定义.

引用了 changed, distance, dx, dy, edge, eve::procgen::Heightmap::getHeight(), eve::procgen::Heightmap::getWidth(), eve::procgen::Heightmap::height(), radius, eve::procgen::Heightmap::setHeight(), strength, eve::Status::success(), eve::Result< T >::success(), x , 以及 y.

被这些函数引用 eve::heightmap_target::HeightmapTargetModule::applyBrush().

◆ compileSplinePathSnapshot()

Result< procgen::SplinePath > eve::procgen_editing::compileSplinePathSnapshot ( const EditorValue &  snapshot)

Compile a version-one spline snapshot for isolated graph preview.

在文件 SplinePathDocument.cpp 第 601 行定义.

引用了 eve::procgen_editing::SplinePathDocument::compilePath(), loaded, eve::procgen_editing::SplinePathDocument::loadSnapshot() , 以及 snapshot.

◆ createHeightmapTarget()

EVENGINE_API_ORCHESTRATION std::unique_ptr< HeightmapTarget > eve::procgen_editing::createHeightmapTarget ( std::string  id,
procgen::Heightmap *  heightmap 
)

Create a heightmap adapter.

参数
idStable target identity.
heightmapBorrowed heightmap that must outlive the adapter.
返回
Independently owned adapter.

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

被这些函数引用 eve::heightmap_target::HeightmapTargetModule::newTarget().

◆ registerRoadNetworkEditingCommands()

EVENGINE_API_ORCHESTRATION editing::Result< void > eve::procgen_editing::registerRoadNetworkEditingCommands ( editing::IEditingCommandRegistry &  registry)