载入中...
搜索中...
未找到
FollowPlayer.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
5#include "common/Result.h"
6
7namespace ssq {
8class Table;
9}
10
11namespace eve::scene {
12
15 bool followPlayer = true;
16 bool waterObject = false;
17 bool useOffset = false;
18 float offsetX = 1250.f;
19 float offsetY = 200.f;
20 float offsetZ = 300.f;
21 bool useScale = false;
22 float scaleX = 1.f;
23 float scaleY = 1.f;
24 float scaleZ = 1.f;
25};
26
29 bool hasPlayer = false;
30 float playerX = 0.f;
31 float playerY = 0.f;
32 float playerZ = 0.f;
33};
34
37 bool applyPosition = false;
38 float x = 0.f;
39 float y = 0.f;
40 float z = 0.f;
41 bool applyScale = false;
42 float scaleX = 1.f;
43 float scaleY = 1.f;
44 float scaleZ = 1.f;
45};
46
59
61void exposeFollowPlayerBindings(ssq::Table& table);
62}
std::string output
EvpackChunkInput input
Definition Evpack.cpp:170
#define EVENGINE_API_PLATFORM
Definition Export.h:107
Move-only, checked operation results for the common layer.
TerrainThermalSettings settings
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Result< void > evaluateFollowPlayer(FollowPlayerOutput *output, const FollowPlayerSettings *settings, const FollowPlayerInput *input)
Evaluate Pcg FollowPlayerSystem LateUpdate transform semantics.
void exposeFollowPlayerBindings(ssq::Table &table)
Register FollowPlayer value types and evaluator with the root script table.
enum EVENGINE_API_FOUNDATION Table
OT_TABLE (editable via Runtime table APIs / ReflectedPropertyModel).
Definition Runtime.h:121
EVEngine ECS 集成层:底层实现使用 sunxfancy/ECS.hpp https://github.com/sunxfancy/ECS.hpp
Definition ECS.h:14
Per-frame player observation supplied by the application.
Provider-neutral transform writes produced for every followed object.
Pcg FollowPlayerSystem configuration independent of render providers.