Class: ImVec2
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImVec2
- Defined in:
- lib/imgui.rb
Class Method Summary collapse
-
.create(x = 0, y = 0) ⇒ Object
shorthand initializer.
Class Method Details
.create(x = 0, y = 0) ⇒ Object
shorthand initializer
2435 2436 2437 2438 2439 2440 |
# File 'lib/imgui.rb', line 2435 def ImVec2.create(x = 0, y = 0) instance = ImVec2.new instance[:x] = x instance[:y] = y return instance end |