struct ImGui::ImVec4

Overview

struct ImVec4

Included Modules

Defined in:

imgui.cr
obj.cr
types.cr

Constructors

Instance Method Summary

Instance methods inherited from module ImGui::StructType

to_unsafe to_unsafe

Constructor Detail

def self.new(_x : Float32, _y : Float32, _z : Float32, _w : Float32) : ImVec4 #

[View source]
def self.new(x : Number, y : Number, z : Number, w : Number) #

[View source]
def self.new #

[View source]

Instance Method Detail

def to_unsafe : Pointer(Float32) #

[View source]
def w : Float32 #

[View source]
def w=(w : Float32) #

[View source]
def x : Float32 #

[View source]
def x=(x : Float32) #

[View source]
def y : Float32 #

[View source]
def y=(y : Float32) #

[View source]
def z : Float32 #

[View source]
def z=(z : Float32) #

[View source]