![]() |
ShitEngine 1.4.2
基于 C++20 与 SDL3 的轻量级 2D 游戏引擎
|
#include "../Component/Behavior.h"#include "../Core/Core.h"#include "../Render/SpriteSheet.h"#include "AnimationClip.h"#include <nlohmann/json.hpp>#include <memory>#include <string>#include <vector>类 | |
| struct | AnimatorParameter |
| 动画参数(可序列化) 更多... | |
| struct | AnimatorTransitionCondition |
| 转换的单个条件(引用参数名) 更多... | |
| struct | AnimatorState |
| 状态机节点(可序列化) 更多... | |
| struct | AnimatorTransition |
| 状态间转换(可序列化;同一状态可有多条,按序求值) 更多... | |
| class | Animator |
| 动画状态机 / Animator(P28) 更多... | |
命名空间 | |
| namespace | Shit |
枚举 | |
| enum class | AnimatorParamType : int { Float = 0 , Bool = 1 , Trigger = 2 } |
| 动画参数类型(状态机条件变量);以 int 存 JSON 载体,无需反射 更多... | |
| enum class | AnimatorConditionType : int { FloatGt = 0 , FloatLt = 1 , FloatEq = 2 , Bool = 3 , Trigger = 4 } |
| 条件类型(转换求值);以 int 存 JSON 载体,无需反射 更多... | |