VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::AnnotationScreenInfo Struct Reference

#include <framework/script/annotationManager.h>

Public Attributes

Annotationannotation = nullptr
float screenX = 0.0f
float screenY = 0.0f
bool visible = true

Detailed Description

Annotation screen-space info — computed each frame by the manager. Consumers use this to render annotations via ImGui or any other overlay.

Definition at line 29 of file annotationManager.h.

Member Data Documentation

◆ annotation

Annotation* visutwin::canvas::AnnotationScreenInfo::annotation = nullptr

Definition at line 31 of file annotationManager.h.

Referenced by visutwin::canvas::AnnotationManager::update().

◆ screenX

float visutwin::canvas::AnnotationScreenInfo::screenX = 0.0f

Definition at line 32 of file annotationManager.h.

Referenced by visutwin::canvas::AnnotationManager::update().

◆ screenY

float visutwin::canvas::AnnotationScreenInfo::screenY = 0.0f

Definition at line 33 of file annotationManager.h.

Referenced by visutwin::canvas::AnnotationManager::update().

◆ visible

bool visutwin::canvas::AnnotationScreenInfo::visible = true

Definition at line 34 of file annotationManager.h.

Referenced by visutwin::canvas::AnnotationManager::update().


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