Class: ImVec4
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImVec4
- Defined in:
- lib/imgui.rb
Overview
ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type]
Class Method Summary collapse
Class Method Details
.create(x = 0, y = 0, z = 0, w = 0) ⇒ Object
2442 2443 2444 2445 2446 2447 2448 2449 |
# File 'lib/imgui.rb', line 2442 def ImVec4.create(x = 0, y = 0, z = 0, w = 0) instance = ImVec4.new instance[:x] = x instance[:y] = y instance[:z] = z instance[:w] = w return instance end |