Engine-neutral description of one procedural scene instance. 更多...
#include <ProcgenSceneSink.h>
Public 属性 | |
| uint64_t | sourcePointId = 0 |
| Stable source PointId; zero denotes a legacy instance without delta identity. | |
| std::string | id |
| std::string | asset |
| Compatibility asset label; when assetBinding exists, its typed identity is authoritative and must match. | |
| float | x = 0.f |
| float | y = 0.f |
| float | z = 0.f |
| float | yaw = 0.f |
| Local Y rotation in degrees; the scene provider converts all Euler angles to its native radians. | |
| float | scaleX = 1.f |
| float | scaleY = 1.f |
| float | scaleZ = 1.f |
| uint32_t | seed = 1 |
| float | pitch = 0.f |
| Local X rotation in degrees, composed as yaw(Y), pitch(X), roll(Z); zero preserves legacy instances. | |
| float | roll = 0.f |
| Local Z rotation in degrees; owned value retained by full snapshots and identity-based deltas. | |
| std::optional< ProcgenInstanceAssetBinding > | assetBinding {} |
| Canonical asset link; asset remains its matching compatibility label when present. | |
详细描述
Engine-neutral description of one procedural scene instance.
在文件 ProcgenSceneSink.h 第 24 行定义.
类成员变量说明
◆ asset
| std::string eve::ProcgenInstanceDesc::asset |
Compatibility asset label; when assetBinding exists, its typed identity is authoritative and must match.
在文件 ProcgenSceneSink.h 第 30 行定义.
◆ assetBinding
| std::optional<ProcgenInstanceAssetBinding> eve::ProcgenInstanceDesc::assetBinding {} |
Canonical asset link; asset remains its matching compatibility label when present.
在文件 ProcgenSceneSink.h 第 45 行定义.
◆ id
| std::string eve::ProcgenInstanceDesc::id |
在文件 ProcgenSceneSink.h 第 27 行定义.
◆ pitch
| float eve::ProcgenInstanceDesc::pitch = 0.f |
Local X rotation in degrees, composed as yaw(Y), pitch(X), roll(Z); zero preserves legacy instances.
在文件 ProcgenSceneSink.h 第 41 行定义.
◆ roll
| float eve::ProcgenInstanceDesc::roll = 0.f |
Local Z rotation in degrees; owned value retained by full snapshots and identity-based deltas.
在文件 ProcgenSceneSink.h 第 43 行定义.
◆ scaleX
| float eve::ProcgenInstanceDesc::scaleX = 1.f |
在文件 ProcgenSceneSink.h 第 36 行定义.
◆ scaleY
| float eve::ProcgenInstanceDesc::scaleY = 1.f |
在文件 ProcgenSceneSink.h 第 37 行定义.
◆ scaleZ
| float eve::ProcgenInstanceDesc::scaleZ = 1.f |
在文件 ProcgenSceneSink.h 第 38 行定义.
◆ seed
| uint32_t eve::ProcgenInstanceDesc::seed = 1 |
在文件 ProcgenSceneSink.h 第 39 行定义.
◆ sourcePointId
| uint64_t eve::ProcgenInstanceDesc::sourcePointId = 0 |
Stable source PointId; zero denotes a legacy instance without delta identity.
在文件 ProcgenSceneSink.h 第 26 行定义.
◆ x
| float eve::ProcgenInstanceDesc::x = 0.f |
在文件 ProcgenSceneSink.h 第 31 行定义.
◆ y
| float eve::ProcgenInstanceDesc::y = 0.f |
在文件 ProcgenSceneSink.h 第 32 行定义.
◆ yaw
| float eve::ProcgenInstanceDesc::yaw = 0.f |
Local Y rotation in degrees; the scene provider converts all Euler angles to its native radians.
在文件 ProcgenSceneSink.h 第 35 行定义.
◆ z
| float eve::ProcgenInstanceDesc::z = 0.f |
在文件 ProcgenSceneSink.h 第 33 行定义.
该结构体的文档由以下文件生成:
- src/engine/common/ProcgenSceneSink.h