ShitEngine 1.4.2
基于 C++20 与 SDL3 的轻量级 2D 游戏引擎
载入中...
搜索中...
未找到
AnimFrame结构体 参考

动画帧(参考 Unity:每帧引用一个 Sprite = 纹理路径 + 源矩形) texturePath 空 = 沿用 SpriteRenderer 当前纹理(兼容动态 play(name, sheet, frames) API) 更多...

#include <AnimationClip.h>

Public 属性

std::string texturePath
Rect rect

详细描述

动画帧(参考 Unity:每帧引用一个 Sprite = 纹理路径 + 源矩形) texturePath 空 = 沿用 SpriteRenderer 当前纹理(兼容动态 play(name, sheet, frames) API)

类成员变量说明

◆ rect

Rect rect

◆ texturePath

std::string texturePath

该结构体的文档由以下文件生成: