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

类

struct  PhysicsPlacementAdmissionPolicy
 Host-supplied filters used before objects enter the private preview world. 更多...
 
struct  PhysicsPlacementCollider
 One local-space shape in a possibly compound placement collider. 更多...
 
struct  PhysicsPlacementContact
 Owning contact evidence, with normal directed from subject toward reference. 更多...
 
struct  PhysicsPlacementFrame
 Captured placement state suitable for drawing and final transaction planning. 更多...
 
struct  PhysicsPlacementObject
 Scene object and collision approximation admitted into an isolated placement preview. 更多...
 
struct  PhysicsPlacementRequest
 Owning request used to construct one isolated placement candidate. 更多...
 
struct  PhysicsPlacementSettings
 Deterministic policy for collision-aware scene placement. 更多...
 
class  SceneEditorModule
 Composition adapter that contributes scene editing commands and automation targets. 更多...
 
class  SceneEditorSession
 Composable scene command/history host with no UI or renderer dependency. Owns its target, command registry and history. Host supplies selection, input, rendering and file I/O; snapshot JSON follows the owned target's versioned schema. @thread Owner thread only. Live targets may notify host observers after publication, without locks. Observers must not destroy or reenter the active session. 更多...
 
class  ScenePhysicsPlacementBackend
 Real Box3D-backed, non-destructive simulation backend for scene placement. 更多...
 
class  ScriptComponentOperationTarget
 脚本组件字段的域操作目标:往引擎侧存储写字段的**唯一**通路。 更多...
 
class  ScriptComponentPayloadProvider
 脚本组件(eve.component 登记过的)在场景 inspector 里的属性与写回通道。 更多...
 

枚举

enum class  PhysicsPlacementMode {
  Place , Rotate , Align , Fall ,
  Point , Drag = Place , Drop = Fall
}
 Interaction policy used by one isolated placement candidate. 更多...
 
enum class  PhysicsPlacementShape {
  Box , Sphere , Capsule , ConvexHull ,
  Auto
}
 Collision approximation admitted into the private preview world. 更多...
 
enum class  PhysicsPlacementColliderSource { Existing , Generated }
 Provenance used when selecting preview colliders. 更多...
 
enum class  PhysicsPlacementColliderPolicy { ExistingOnly , GeneratedWhenMissing , GeneratedOnly , ExistingAndGenerated }
 Policy deciding which admitted collider sources participate in preview. 更多...
 

函数

void exposeSceneAuthoringQueries (ssq::Table &table, ssq::Class &module)
 Bind read-only authoring queries; table and module are borrowed synchronously.
 
 Module_IMPL (SceneEditorModule, new SceneEditorModule())
 
editing::Result< editing::Value > evaluateSceneRelations (const std::vector< scene_editing::SceneRelation > &relations, const PhysicsPlacementFrame &frame)
 Measure supported_on/nonpenetrating against owning private-world contact evidence.
 
editing::Result< editing::Value > evaluateSceneVisualRelations (const std::vector< scene_editing::SceneRelation > &relations, const PhysicsPlacementFrame &frame, const editing::Value &evidence, editing::Value report)
 Merge native raster evidence into the physical report for selected visual relations. @thread Owner thread; pure owning-value evaluation, no callbacks or mutation. @cost Linear in relations and target evidence per explicit candidate check.
 

枚举类型说明

◆ PhysicsPlacementColliderPolicy

Policy deciding which admitted collider sources participate in preview.

枚举值
ExistingOnly 
GeneratedWhenMissing 
GeneratedOnly 
ExistingAndGenerated 

在文件 ScenePhysicsPlacement.h 第 26 行定义.

◆ PhysicsPlacementColliderSource

Provenance used when selecting preview colliders.

枚举值
Existing 
Generated 

在文件 ScenePhysicsPlacement.h 第 23 行定义.

◆ PhysicsPlacementMode

Interaction policy used by one isolated placement candidate.

枚举值
Place 
Rotate 
Align 
Fall 
Point 
Drag 
Drop 

在文件 ScenePhysicsPlacement.h 第 17 行定义.

◆ PhysicsPlacementShape

Collision approximation admitted into the private preview world.

枚举值
Box 
Sphere 
Capsule 
ConvexHull 
Auto 

在文件 ScenePhysicsPlacement.h 第 20 行定义.

函数说明

◆ evaluateSceneRelations()

EVENGINE_API_EDITORS editing::Result< editing::Value > eve::scene_editor::evaluateSceneRelations ( const std::vector< scene_editing::SceneRelation > &  relations,
const PhysicsPlacementFrame &  frame 
)

Measure supported_on/nonpenetrating against owning private-world contact evidence.

参数
relationsValidated relations; all participants must be admitted for measurement.
frameEvidence captured after a fixed physics tick, borrowed only for this call.
返回
Owning report; hardSatisfied is false for violations and unmeasurable hard relations. @thread Owner thread; pure value calculation, no callbacks or world mutation. @cost Relations times contact count per explicit check; no per-frame runtime work.

在文件 SceneRelationEvidence.cpp 第 8 行定义.

引用了 contact, frame, eve::scene_editing::Occludes, eve::scene_editing::ProjectedOverlap, reference, relation, selected, subject, eve::scene_editing::SupportedOn, t , 以及 eve::scene_editing::VisibleFraction.

被这些函数引用 eve::scene_editor::SceneEditorSession::checkRelationPlacement().

◆ evaluateSceneVisualRelations()

EVENGINE_API_EDITORS editing::Result< editing::Value > eve::scene_editor::evaluateSceneVisualRelations ( const std::vector< scene_editing::SceneRelation > &  relations,
const PhysicsPlacementFrame &  frame,
const editing::Value &  evidence,
editing::Value  report 
)

Merge native raster evidence into the physical report for selected visual relations. @thread Owner thread; pure owning-value evaluation, no callbacks or mutation. @cost Linear in relations and target evidence per explicit candidate check.

返回
Combined report; ambiguous/unmeasurable hard constraints fail closed.

在文件 SceneVisualRelationEvidence.cpp 第 6 行定义.

引用了 at, evidence, fraction, frame, eve::SceneLocalRegion::fromValue(), eve::editing::Value::getIf(), key, object, eve::scene_editing::Occludes, pairs, eve::scene_editing::ProjectedOverlap, reference, relation, root, selected, subject, target, eve::editing::toEditingValue(), eve::editing::toPresentationValue(), value , 以及 eve::scene_editing::VisibleFraction.

被这些函数引用 eve::scene_editor::SceneEditorSession::checkRelationPlacement().

◆ exposeSceneAuthoringQueries()

void eve::scene_editor::exposeSceneAuthoringQueries ( ssq::Table &  table,
ssq::Class &  module 
)

Bind read-only authoring queries; table and module are borrowed synchronously.

在文件 SceneAuthoringBindings.cpp 第 12 行定义.

引用了 eve::Applied, owned, eve::script::projectStatusResult(), result, eve::Status::success() , 以及 vm.

◆ Module_IMPL()

eve::scene_editor::Module_IMPL ( SceneEditorModule  ,
new   SceneEditorModule() 
)