DEKI/ENGINE docs
Deki 0.19.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches
DekiEditor::SceneViewContext Struct Reference

Everything BeginObject() needs to set up an object's gizmo context. More...

#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/SceneView.h>

Public Attributes

Deki::Object * object = nullptr
ImDrawList * drawList = nullptr
float screenX = 0.0f
float screenY = 0.0f
float worldX = 0.0f
float worldY = 0.0f
float scaleX = 1.0f
float scaleY = 1.0f
float rotation = 0.0f
float zoom = 1.0f
float pixelsPerMeter = 1.0f
float displayWidth = 0.0f
float displayHeight = 0.0f
bool isSelected = false

Detailed Description

Everything BeginObject() needs to set up an object's gizmo context.

Member Data Documentation

◆ object

Deki::Object* DekiEditor::SceneViewContext::object = nullptr

◆ drawList

ImDrawList* DekiEditor::SceneViewContext::drawList = nullptr

◆ screenX

float DekiEditor::SceneViewContext::screenX = 0.0f

◆ screenY

float DekiEditor::SceneViewContext::screenY = 0.0f

◆ worldX

float DekiEditor::SceneViewContext::worldX = 0.0f

◆ worldY

float DekiEditor::SceneViewContext::worldY = 0.0f

◆ scaleX

float DekiEditor::SceneViewContext::scaleX = 1.0f

◆ scaleY

float DekiEditor::SceneViewContext::scaleY = 1.0f

◆ rotation

float DekiEditor::SceneViewContext::rotation = 0.0f

◆ zoom

float DekiEditor::SceneViewContext::zoom = 1.0f

◆ pixelsPerMeter

float DekiEditor::SceneViewContext::pixelsPerMeter = 1.0f

◆ displayWidth

float DekiEditor::SceneViewContext::displayWidth = 0.0f

◆ displayHeight

float DekiEditor::SceneViewContext::displayHeight = 0.0f

◆ isSelected

bool DekiEditor::SceneViewContext::isSelected = false

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