载入中...
搜索中...
未找到
Compact authoritative state for one simulated world pixel. 更多...
#include <PixelWorld.h>
Public 属性 | |
| MaterialId | material = MaterialId::Air |
| std::int16_t | temperature = 20 |
| std::uint8_t | lifetime = 0 |
| std::uint16_t | thermalRemainder = 0 |
| Canonical sub-degree thermal energy in [0, material heatCapacity). | |
友元 | |
| bool | operator== (const PixelCell &, const PixelCell &)=default |
| Operator ==. | |
详细描述
Compact authoritative state for one simulated world pixel.
在文件 PixelWorld.h 第 24 行定义.
友元及相关函数文档
◆ operator==
类成员变量说明
◆ lifetime
| std::uint8_t eve::pixelworld::PixelCell::lifetime = 0 |
在文件 PixelWorld.h 第 27 行定义.
◆ material
| MaterialId eve::pixelworld::PixelCell::material = MaterialId::Air |
在文件 PixelWorld.h 第 25 行定义.
被这些函数引用 eve::pixelworld::PixelWorld::applyEdit(), eve::pixelworld_physics::extractTerrainContours(), eve::pixelworld::PixelWorld::paintCircleChecked(), eve::pixelworld_physics::probeTerrainCircle(), eve::pixelworld::PixelWorld::setMaterialChecked() , 以及 eve::pixelworld_physics::sweepTerrainCircle().
◆ temperature
| std::int16_t eve::pixelworld::PixelCell::temperature = 20 |
在文件 PixelWorld.h 第 26 行定义.
◆ thermalRemainder
| std::uint16_t eve::pixelworld::PixelCell::thermalRemainder = 0 |
Canonical sub-degree thermal energy in [0, material heatCapacity).
在文件 PixelWorld.h 第 29 行定义.
该结构体的文档由以下文件生成:
- src/modules/pixelworld/PixelWorld.h