VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
ImColor Struct Reference

Public Member Functions

 ImColor ()
 
 ImColor (int r, int g, int b, int a=255)
 
 ImColor (ImU32 rgba)
 
 ImColor (float r, float g, float b, float a=1.0f)
 
 ImColor (const ImVec4 &col)
 
 operator ImU32 () const
 
 operator ImVec4 () const
 
void SetHSV (float h, float s, float v, float a=1.0f)
 

Static Public Member Functions

static ImColor HSV (float h, float s, float v, float a=1.0f)
 

Public Attributes

ImVec4 Value
 

Constructor & Destructor Documentation

ImColor::ImColor ( )
inline

References ImGui::Value().

ImColor::ImColor ( int  r,
int  g,
int  b,
int  a = 255 
)
inline

References ImGui::Value().

ImColor::ImColor ( ImU32  rgba)
inline
ImColor::ImColor ( float  r,
float  g,
float  b,
float  a = 1.0f 
)
inline

References ImGui::Value().

ImColor::ImColor ( const ImVec4 col)
inline

References ImGui::Value().

Member Function Documentation

ImColor::operator ImU32 ( ) const
inline
ImColor::operator ImVec4 ( ) const
inline

References ImGui::Value().

void ImColor::SetHSV ( float  h,
float  s,
float  v,
float  a = 1.0f 
)
inline
static ImColor ImColor::HSV ( float  h,
float  s,
float  v,
float  a = 1.0f 
)
inlinestatic

Member Data Documentation

ImVec4 ImColor::Value

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)