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
2842 2843 2844 2845 2846 2847 2848 2849 |
# File 'lib/imgui.rb', line 2842 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 |