JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
hmi::PlaneLayer Struct Reference

Un plan à aplatir sous (ou sur) celui qu'on peint. More...

#include <PlaneReference.h>

Public Attributes

const DecodedImageimage = nullptr
 Image du plan, à sa propre densité. nullptr : couche ignorée.
int pixelsPerUnit = 16
 Densité de image, en pixels par unité monde.
float opacity = 1.0f
 Opacité de composition, dans [0, 1].
bool visible = true
 Couche masquée dans l'éditeur : ignorée, comme si elle n'existait pas.

Detailed Description

Un plan à aplatir sous (ou sur) celui qu'on peint.

Member Data Documentation

◆ image

const DecodedImage* hmi::PlaneLayer::image = nullptr

Image du plan, à sa propre densité. nullptr : couche ignorée.

◆ opacity

float hmi::PlaneLayer::opacity = 1.0f

Opacité de composition, dans [0, 1].

◆ pixelsPerUnit

int hmi::PlaneLayer::pixelsPerUnit = 16

Densité de image, en pixels par unité monde.

◆ visible

bool hmi::PlaneLayer::visible = true

Couche masquée dans l'éditeur : ignorée, comme si elle n'existait pas.


The documentation for this struct was generated from the following file:
  • /home/runner/work/JustAnotherDnDGame/JustAnotherDnDGame/Source/HMI/Editor/PlaneReference.h