载入中...
搜索中...
未找到
PrefabBoundsCatalog.cpp
浏览该文件的文档.
11 Diagnostic::error(DiagnosticCode::InvalidArgument, "prefab package build identity must not be nil"));
18 Diagnostic::error(DiagnosticCode::PreconditionViolation, "prefab bounds catalogue budget exceeded"));
22Result<std::array<float, 6>> PrefabBoundsCatalog::localBounds(const AssetRef& asset, const PersistentId& build,
24 if (rootPose != PrefabRootPose::Authored && rootPose != PrefabRootPose::ReplaceTranslationRotation)
const PersistentId & id() const noexcept
Return the stable asset identity.
Definition ResourceRef.h:65
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.cpp:21
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:196
Owning static-prefab GPU leases and immutable draw transforms; no ECS or Scene mutation....
Definition EvpackStaticPrefab.h:91
Result< void > add(const EvpackStaticPrefab &prefab)
Admit one loaded prefab snapshot, including its verified package build identity.
Definition PrefabBoundsCatalog.cpp:4
Result< std::array< float, 6 > > localBounds(const AssetRef &asset, const PersistentId &build, PrefabRootPose rootPose=PrefabRootPose::Authored) const override
Resolve prefab-local min XYZ/max XYZ at an exact admitted package build identity.
Definition PrefabBoundsCatalog.cpp:22
Definition CookedMaterial.cpp:5
@ InvalidArgument
@ NotFound
@ PreconditionViolation
@ Conflict
PrefabRootPose
Immutable prefab placement convention shared by geometry bounds and renderer preparation....
Definition PrefabRootPose.h:11
@ ReplaceTranslationRotation
@ Authored