Overload  1.1
Game engine with editor
Public Member Functions | Static Public Member Functions | List of all members
OvUI::Internal::Converter Class Reference

#include <Converter.h>

Public Member Functions

 Converter ()=delete
 

Static Public Member Functions

static ImVec4 ToImVec4 (const Types::Color &p_value)
 
static Types::Color ToColor (const ImVec4 &p_value)
 
static ImVec2 ToImVec2 (const OvMaths::FVector2 &p_value)
 
static OvMaths::FVector2 ToFVector2 (const ImVec2 &p_value)
 

Detailed Description

Handles imgui conversion to/from overload types

Constructor & Destructor Documentation

◆ Converter()

OvUI::Internal::Converter::Converter ( )
delete

Disabled constructor

Member Function Documentation

◆ ToColor()

OvUI::Types::Color OvUI::Internal::Converter::ToColor ( const ImVec4 &  p_value)
static

Convert the given ImVec4 to Color

Parameters
p_value

◆ ToFVector2()

OvMaths::FVector2 OvUI::Internal::Converter::ToFVector2 ( const ImVec2 &  p_value)
static

Convert the given ImVec2 to FVector2

Parameters
p_value

◆ ToImVec2()

ImVec2 OvUI::Internal::Converter::ToImVec2 ( const OvMaths::FVector2 p_value)
static

Convert the given FVector2 to ImVec2

Parameters
p_value

◆ ToImVec4()

ImVec4 OvUI::Internal::Converter::ToImVec4 ( const Types::Color p_value)
static

Convert the given Color to ImVec4

Parameters
p_value@project: Overload
Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

The documentation for this class was generated from the following files: