载入中...
搜索中...
未找到
eve::card::CardData::Visual结构体 参考

朝向、禁用、色调、卡图。 更多...

#include <CardTypes.h>

Public 属性

bool faceUp = true
 Logical face target; presentation animates flip toward it.
 
float flip = 0.f
 Animated face-down progress in [0, 1]. 0 = fully face-up, 1 = fully face-down. Midpoint (0.5) is edge-on: swap front/back art when showingFront flips across that threshold.
 
bool disabled = false
 
glm::vec3 tint {0.62f, 0.50f, 0.40f}
 
graphics::Texture * texture = nullptr
 

详细描述

朝向、禁用、色调、卡图。

在文件 CardTypes.h 第 144 行定义.

类成员变量说明

◆ disabled

bool eve::card::CardData::Visual::disabled = false

在文件 CardTypes.h 第 153 行定义.

◆ faceUp

bool eve::card::CardData::Visual::faceUp = true

Logical face target; presentation animates flip toward it.

在文件 CardTypes.h 第 146 行定义.

◆ flip

float eve::card::CardData::Visual::flip = 0.f

Animated face-down progress in [0, 1]. 0 = fully face-up, 1 = fully face-down. Midpoint (0.5) is edge-on: swap front/back art when showingFront flips across that threshold.

在文件 CardTypes.h 第 152 行定义.

◆ texture

graphics::Texture* eve::card::CardData::Visual::texture = nullptr

在文件 CardTypes.h 第 155 行定义.

◆ tint

glm::vec3 eve::card::CardData::Visual::tint {0.62f, 0.50f, 0.40f}

在文件 CardTypes.h 第 154 行定义.

被这些函数引用 eve::card::CardDefinitionRuntime::applyTo().


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