载入中...
搜索中...
未找到
eve::map::TileLayer::Draw结构体 参考

#include <TileLayer.h>

Public 属性

graphics::Canvas * canvas = nullptr
 
graphics::Camera2D * camera = nullptr
 
int layer = 0
 
bool visible = true
 
bool receiveLight = false
 When true, tiles receive Light2D (GPU lit2d with flat normals, or CPU modulate when drawn without a texture). Default false keeps legacy unlit maps.
 
Color tint {1.f, 1.f, 1.f, 1.f}
 
float visualScaleX = 1.f
 World-size multiplier for atlas-pixel visuals (UV unchanged).
 
float visualScaleY = 1.f
 

详细描述

在文件 TileLayer.h 第 181 行定义.

类成员变量说明

◆ camera

graphics::Camera2D* eve::map::TileLayer::Draw::camera = nullptr

在文件 TileLayer.h 第 183 行定义.

◆ canvas

graphics::Canvas* eve::map::TileLayer::Draw::canvas = nullptr

在文件 TileLayer.h 第 182 行定义.

◆ layer

int eve::map::TileLayer::Draw::layer = 0

在文件 TileLayer.h 第 184 行定义.

◆ receiveLight

bool eve::map::TileLayer::Draw::receiveLight = false

When true, tiles receive Light2D (GPU lit2d with flat normals, or CPU modulate when drawn without a texture). Default false keeps legacy unlit maps.

在文件 TileLayer.h 第 190 行定义.

◆ tint

Color eve::map::TileLayer::Draw::tint {1.f, 1.f, 1.f, 1.f}

在文件 TileLayer.h 第 191 行定义.

◆ visible

bool eve::map::TileLayer::Draw::visible = true

在文件 TileLayer.h 第 185 行定义.

◆ visualScaleX

float eve::map::TileLayer::Draw::visualScaleX = 1.f

World-size multiplier for atlas-pixel visuals (UV unchanged).

在文件 TileLayer.h 第 193 行定义.

◆ visualScaleY

float eve::map::TileLayer::Draw::visualScaleY = 1.f

在文件 TileLayer.h 第 194 行定义.


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