Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches
DekiEditor::SceneViewContext Struct Reference

Context for rendering an object in the scene view Consolidates all parameters needed for BeginObject(). More...

#include <SceneView.h>

Public Attributes

DekiObjectobject = 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

Context for rendering an object in the scene view Consolidates all parameters needed for BeginObject().

Member Data Documentation

◆ object

DekiObject* 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: