Class: ImVec4

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/imgui.rb

Class Method Summary collapse

Class Method Details

.create(x = 0, y = 0, z = 0, w = 0) ⇒ Object



5861
5862
5863
5864
5865
5866
5867
5868
# File 'lib/imgui.rb', line 5861

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