KiCad PCB EDA Suite
Loading...
Searching...
No Matches
EDA_3D_CANVAS::OVERLAY Struct Reference

A translucent triangle soup drawn over the scene. More...

#include <eda_3d_canvas.h>

Public Attributes

glm::mat4 transform { 1.0f }
 
std::vector< SFVEC3F > vertices
 Triangle list in the transform's space.
 
SFVEC4F color { 0.0f, 1.0f, 0.0f, 0.5f }
 
bool alwaysVisible = false
 Draw through whatever is in front of it.
 

Detailed Description

A translucent triangle soup drawn over the scene.

Definition at line 114 of file eda_3d_canvas.h.

Member Data Documentation

◆ alwaysVisible

bool EDA_3D_CANVAS::OVERLAY::alwaysVisible = false

Draw through whatever is in front of it.

Definition at line 119 of file eda_3d_canvas.h.

◆ color

SFVEC4F EDA_3D_CANVAS::OVERLAY::color { 0.0f, 1.0f, 0.0f, 0.5f }

Definition at line 118 of file eda_3d_canvas.h.

◆ transform

glm::mat4 EDA_3D_CANVAS::OVERLAY::transform { 1.0f }

Definition at line 116 of file eda_3d_canvas.h.

◆ vertices

std::vector<SFVEC3F> EDA_3D_CANVAS::OVERLAY::vertices

Triangle list in the transform's space.

Definition at line 117 of file eda_3d_canvas.h.


The documentation for this struct was generated from the following file: