struct ImGui::ImGuiKeyData

Overview

struct ImGuiKeyData

Included Modules

Defined in:

obj.cr

Instance Method Summary

Instance Method Detail

def analog_value : Float32 #

0.0f..1.0f for gamepad values


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

[View source]
def down : Bool #

True for if key is down


[View source]
def down=(down : Bool) #

[View source]
def down_duration : Float32 #

Duration the key has been down (<0.0f: not pressed, 0.0f: just pressed, >0.0f: time held)


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

[View source]
def down_duration_prev : Float32 #

Last frame duration the key has been down


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

[View source]
def to_unsafe : Pointer(T) #

[View source]