Public Member Functions | Public Attributes | List of all members
ImVec2 Struct Reference

#include <imgui.h>

Public Member Functions

 ImVec2 ()
 
 ImVec2 (float _x, float _y)
 
float & operator[] (size_t idx)
 
float operator[] (size_t idx) const
 

Public Attributes

float x
 
float y
 

Detailed Description

Definition at line 208 of file imgui.h.

Constructor & Destructor Documentation

◆ ImVec2() [1/2]

ImVec2::ImVec2 ( )
inline

Definition at line 211 of file imgui.h.

◆ ImVec2() [2/2]

ImVec2::ImVec2 ( float  _x,
float  _y 
)
inline

Definition at line 212 of file imgui.h.

Member Function Documentation

◆ operator[]() [1/2]

float& ImVec2::operator[] ( size_t  idx)
inline

Definition at line 214 of file imgui.h.

◆ operator[]() [2/2]

float ImVec2::operator[] ( size_t  idx) const
inline

Definition at line 213 of file imgui.h.

Member Data Documentation

◆ x

float ImVec2::x

Definition at line 210 of file imgui.h.

◆ y

float ImVec2::y

Definition at line 210 of file imgui.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06