载入中...
搜索中...
未找到
eve::pixelworld::PixelCell结构体 参考

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==

bool operator== ( const PixelCell &  ,
const PixelCell &   
)
friend

Operator ==.

类成员变量说明

◆ lifetime

std::uint8_t eve::pixelworld::PixelCell::lifetime = 0

在文件 PixelWorld.h 第 27 行定义.

被这些函数引用 eve::pixelworld::PixelWorld::applyEdit().

◆ material

◆ temperature

std::int16_t eve::pixelworld::PixelCell::temperature = 20

在文件 PixelWorld.h 第 26 行定义.

被这些函数引用 eve::pixelworld::PixelWorld::applyEdit().

◆ thermalRemainder

std::uint16_t eve::pixelworld::PixelCell::thermalRemainder = 0

Canonical sub-degree thermal energy in [0, material heatCapacity).

在文件 PixelWorld.h 第 29 行定义.

被这些函数引用 eve::pixelworld::PixelWorld::Impl::normalizeCell().


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