载入中...
搜索中...
未找到
SceneRelations.h
浏览该文件的文档.
1#pragma once
3
4#include <optional>
5#include <vector>
7
8namespace eve::scene_editing {
14 std::string id;
17 bool hard = true;
18 int priority = 0;
19 double weight = 1.0;
20 double tolerance = 0.02;
21 double normalMinDot = 0.8;
22 double minimum = 0.0, maximum = 1.0;
23 std::optional<eve::SceneLocalRegion> region;
24};
33 const editing::Value& value, const ISceneHierarchyEditTarget& hierarchy);
34} // namespace eve::scene_editing
#define EVENGINE_API_BACKENDS
Definition Export.h:108
Object::Ptr value
Move-only operation result carrying either a value or Status.
Definition Result.h:176
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:313
Deterministic owning value tree shared by authoring hosts.
Stable hierarchy capability implemented by document and runtime targets.
Definition SceneTarget.h:35
editing::Result< std::vector< SceneRelation > > parseSceneRelations(const editing::Value &value, const ISceneHierarchyEditTarget &hierarchy)
Strictly decode physical and visual relations and validate all referenced objects.
SceneRelationKind
Supported authoring relations; these do not create transform parenting or runtime joints.
Owning relation between stable scene objects, measured against admitted contact proxies or native cam...
std::optional< eve::SceneLocalRegion > region