载入中...
搜索中...
未找到
ProcgenAssetBounds.h
浏览该文件的文档.
1#pragma once
2#include <array>
3#include <string_view>
4#include "common/Export.h"
7#include "common/Result.h"
8namespace eve {
11public:
12 static constexpr const char* capabilityName = "IProcgenAssetBounds";
14 virtual ~IProcgenAssetBounds() = default;
25 const AssetRef& asset, const PersistentId& build, PrefabRootPose rootPose = PrefabRootPose::Authored) const = 0;
26};
27} // namespace eve
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
std::string build
Strong asset, definition, object and generic resource references.
Move-only, checked operation results for the common layer.
Stable asset identity backed by PersistentId.
Definition ResourceRef.h:53
Optional immutable asset-bounds capability for explicit procedural bakes.
virtual Result< std::array< float, 6 > > localBounds(const AssetRef &asset, const PersistentId &build, PrefabRootPose rootPose=PrefabRootPose::Authored) const =0
Resolve prefab-local min XYZ/max XYZ at an exact admitted package build identity.
virtual ~IProcgenAssetBounds()=default
Destroy the interface; registration lifetime remains owned by the composition host.
Move-only operation result carrying either a value or Status.
Definition Result.h:176
Id128 public API.
Definition Identity.h:111
Build metadata (engine git commit, build time, third-party version).
Definition Build.cpp:16
PrefabRootPose
Immutable prefab placement convention shared by geometry bounds and renderer preparation....