载入中...
搜索中...
未找到
DepthOfFieldFocus.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Result.h"
4
5namespace ssq {
6class Table;
7}
8
9namespace eve::graphics {
10
13
17 bool enabled = true;
18 bool interactWithPlayer = true;
19 float focusOffset = 0.f;
20 float maximumDistance = 100.f;
21 float aperture = 7.5f;
22 float focalLength = 30.f;
23 float response = 3.5f;
24};
25
28 bool hasRayHit = false;
29 bool hitPlayer = false;
30 float rayHitDistance = 0.f;
31 bool hasTarget = false;
32 float targetDistance = 0.f;
33 float deltaSeconds = 0.f;
34};
35
38 bool initialized = false;
39 bool maximumExceeded = true;
40 float focusDistance = 1.f;
41};
42
45 bool active = false;
46 float focusDistance = 1.f;
47 float aperture = 7.5f;
48 float focalLength = 30.f;
49};
50
65
67void exposeDepthOfFieldFocusBindings(ssq::Table& table);
68
69} // namespace eve::graphics
std::string output
EvpackChunkInput input
Definition Evpack.cpp:170
#define EVENGINE_API_BACKENDS
Definition Export.h:108
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
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
DepthOfFieldTracking
Pcg-compatible autofocus tracking mode.
void exposeDepthOfFieldFocusBindings(ssq::Table &table)
Register Pcg autofocus value types and evaluator.
Result< void > evaluateDepthOfFieldFocus(DepthOfFieldFocusState *state, DepthOfFieldFocusOutput *output, const DepthOfFieldFocusSettings *settings, const DepthOfFieldFocusInput *input)
Evaluate Pcg AutoDepthOfField tracking and smoothing for one frame.
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
One frame of caller-owned raycast or target observations.
Focus and lens values ready for a depth-of-field renderer.
Provider-neutral autofocus configuration.
Persistent autofocus state owned by the caller.