载入中...
搜索中...
未找到
Owning sprite key snapshot; pixel rectangles and pivots use top-left coordinates. 更多...
#include <SpriteAnimation.h>
Public 属性 | |
| AssetRef | image |
| std::string | name |
| double | time = 0 |
| std::array< double, 4 > | rect {} |
| std::array< double, 2 > | pivot {} |
| std::array< double, 2 > | imageSize {} |
| double | pixelsPerUnit = 100 |
| bool | nearest = true |
详细描述
Owning sprite key snapshot; pixel rectangles and pivots use top-left coordinates.
在文件 SpriteAnimation.h 第 12 行定义.
类成员变量说明
◆ image
| AssetRef eve::asset::SpriteAnimationFrame::image |
在文件 SpriteAnimation.h 第 13 行定义.
◆ imageSize
| std::array<double, 2> eve::asset::SpriteAnimationFrame::imageSize {} |
在文件 SpriteAnimation.h 第 18 行定义.
◆ name
| std::string eve::asset::SpriteAnimationFrame::name |
在文件 SpriteAnimation.h 第 14 行定义.
◆ nearest
| bool eve::asset::SpriteAnimationFrame::nearest = true |
在文件 SpriteAnimation.h 第 20 行定义.
◆ pivot
| std::array<double, 2> eve::asset::SpriteAnimationFrame::pivot {} |
在文件 SpriteAnimation.h 第 17 行定义.
◆ pixelsPerUnit
| double eve::asset::SpriteAnimationFrame::pixelsPerUnit = 100 |
在文件 SpriteAnimation.h 第 19 行定义.
◆ rect
| std::array<double, 4> eve::asset::SpriteAnimationFrame::rect {} |
在文件 SpriteAnimation.h 第 16 行定义.
◆ time
| double eve::asset::SpriteAnimationFrame::time = 0 |
在文件 SpriteAnimation.h 第 15 行定义.
该结构体的文档由以下文件生成:
- src/modules/asset/SpriteAnimation.h