Immutable presentation data captured from one card for external 2D/3D adapters.
更多...
#include <Card.h>
|
| std::string | instanceId |
| |
| std::string | definitionId |
| |
| std::string | state |
| |
| float | x = 0.f |
| |
| float | y = 0.f |
| |
| float | width = 0.f |
| |
| float | height = 0.f |
| |
| float | angle = 0.f |
| |
| float | scale = 1.f |
| |
| float | alpha = 1.f |
| |
| bool | hovered = false |
| |
| bool | dragging = false |
| |
| bool | disabled = false |
| |
| bool | faceUp = true |
| | Effective face target after hand faceDown/peek resolution.
|
| |
| float | flip = 0.f |
| | Animated face-down progress in [0, 1] (0 = up, 1 = down).
|
| |
| float | flipAngle = 0.f |
| | Flip rotation about the configured hinge, in degrees (0..180).
|
| |
| float | flipLift = 0.f |
| | Lift above the resting plane/layout at the current flip pose.
|
| |
| float | flipAxisScale = 1.f |
| | Absolute cosine foreshortening for the hinge axis (0 at edge-on).
|
| |
| bool | showingFront = true |
| | Which face texture to bind right now (swaps at the edge-on pinch).
|
| |
| int | flipAxis = 0 |
| | Hinge used to produce this pose: 0 = vertical, 1 = horizontal.
|
| |
Immutable presentation data captured from one card for external 2D/3D adapters.
在文件 Card.h 第 41 行定义.
◆ alpha
| float eve::card::CardPresentationSnapshot::alpha = 1.f |
◆ angle
| float eve::card::CardPresentationSnapshot::angle = 0.f |
◆ definitionId
| std::string eve::card::CardPresentationSnapshot::definitionId |
◆ disabled
| bool eve::card::CardPresentationSnapshot::disabled = false |
◆ dragging
| bool eve::card::CardPresentationSnapshot::dragging = false |
◆ faceUp
| bool eve::card::CardPresentationSnapshot::faceUp = true |
Effective face target after hand faceDown/peek resolution.
在文件 Card.h 第 56 行定义.
◆ flip
| float eve::card::CardPresentationSnapshot::flip = 0.f |
Animated face-down progress in [0, 1] (0 = up, 1 = down).
在文件 Card.h 第 58 行定义.
◆ flipAngle
| float eve::card::CardPresentationSnapshot::flipAngle = 0.f |
Flip rotation about the configured hinge, in degrees (0..180).
在文件 Card.h 第 60 行定义.
◆ flipAxis
| int eve::card::CardPresentationSnapshot::flipAxis = 0 |
Hinge used to produce this pose: 0 = vertical, 1 = horizontal.
在文件 Card.h 第 68 行定义.
◆ flipAxisScale
| float eve::card::CardPresentationSnapshot::flipAxisScale = 1.f |
Absolute cosine foreshortening for the hinge axis (0 at edge-on).
在文件 Card.h 第 64 行定义.
◆ flipLift
| float eve::card::CardPresentationSnapshot::flipLift = 0.f |
Lift above the resting plane/layout at the current flip pose.
在文件 Card.h 第 62 行定义.
◆ height
| float eve::card::CardPresentationSnapshot::height = 0.f |
◆ hovered
| bool eve::card::CardPresentationSnapshot::hovered = false |
◆ instanceId
| std::string eve::card::CardPresentationSnapshot::instanceId |
◆ scale
| float eve::card::CardPresentationSnapshot::scale = 1.f |
◆ showingFront
| bool eve::card::CardPresentationSnapshot::showingFront = true |
Which face texture to bind right now (swaps at the edge-on pinch).
在文件 Card.h 第 66 行定义.
◆ state
| std::string eve::card::CardPresentationSnapshot::state |
◆ width
| float eve::card::CardPresentationSnapshot::width = 0.f |
| float eve::card::CardPresentationSnapshot::x = 0.f |
| float eve::card::CardPresentationSnapshot::y = 0.f |
该结构体的文档由以下文件生成: