class
Godot::InputEventKey
- Godot::InputEventKey
- Godot::InputEventWithModifiers
- Godot::InputEventFromWindow
- Godot::InputEvent
- Godot::Resource
- Godot::RefCounted
- Godot::Object
- Reference
- Object
Defined in:
lapis.crlibgodot/generated/classes/classes_part3.cr
Constructors
Instance Method Summary
- #as_text_key_label : String
- #as_text_keycode : String
- #as_text_location : String
- #as_text_physical_keycode : String
-
#echo
Property
#echogetter -
#echo=(val)
Property
#echosetter - #echo?
- #get_key_label : Int64
- #get_key_label_with_modifiers : Int64
- #get_keycode : Int64
- #get_keycode_with_modifiers : Int64
- #get_location : Int64
- #get_physical_keycode : Int64
- #get_physical_keycode_with_modifiers : Int64
- #get_unicode : Int64
-
#key : Godot::Key
Returns the pressed keycode as a strongly-typed
Godot::Keyenum -
#key_label
Property
#key_labelgetter -
#key_label=(val : Int)
Property
#key_labelsetter -
#keycode
Property
#keycodegetter -
#keycode=(val : Int)
Property
#keycodesetter -
#location
Property
#locationgetter -
#location=(val : Int)
Property
#locationsetter -
#physical_key : Godot::Key
Returns the physical keycode as a strongly-typed
Godot::Keyenum -
#physical_keycode
Property
#physical_keycodegetter -
#physical_keycode=(val : Int)
Property
#physical_keycodesetter -
#pressed
Property
#pressedgetter -
#pressed=(val)
Property
#pressedsetter - #pressed?
- #set_echo(echo : Bool) : Void
- #set_key_label(key_label : Int64) : Void
- #set_keycode(keycode : Int64) : Void
- #set_location(location : Int64) : Void
- #set_physical_keycode(physical_keycode : Int64) : Void
- #set_pressed(pressed : Bool) : Void
- #set_unicode(unicode : Int64) : Void
-
#unicode
Property
#unicodegetter -
#unicode=(val : Int)
Property
#unicodesetter
Instance methods inherited from class Godot::InputEventWithModifiers
alt_pressed
alt_pressed,
alt_pressed=(val)
alt_pressed=,
alt_pressed?
alt_pressed?,
command_or_control_autoremap
command_or_control_autoremap,
command_or_control_autoremap=(val)
command_or_control_autoremap=,
command_or_control_autoremap?
command_or_control_autoremap?,
ctrl_pressed
ctrl_pressed,
ctrl_pressed=(val)
ctrl_pressed=,
ctrl_pressed?
ctrl_pressed?,
get_modifiers_mask : Int64
get_modifiers_mask,
is_alt_pressed : Bool
is_alt_pressed,
is_command_or_control_autoremap : Bool
is_command_or_control_autoremap,
is_command_or_control_pressed : Bool
is_command_or_control_pressed,
is_ctrl_pressed : Bool
is_ctrl_pressed,
is_meta_pressed : Bool
is_meta_pressed,
is_shift_pressed : Bool
is_shift_pressed,
meta_pressed
meta_pressed,
meta_pressed=(val)
meta_pressed=,
meta_pressed?
meta_pressed?,
set_alt_pressed(pressed : Bool) : Void
set_alt_pressed,
set_command_or_control_autoremap(enable : Bool) : Void
set_command_or_control_autoremap,
set_ctrl_pressed(pressed : Bool) : Void
set_ctrl_pressed,
set_meta_pressed(pressed : Bool) : Void
set_meta_pressed,
set_shift_pressed(pressed : Bool) : Void
set_shift_pressed,
shift_pressed
shift_pressed,
shift_pressed=(val)
shift_pressed=,
shift_pressed?
shift_pressed?
Constructor methods inherited from class Godot::InputEventWithModifiers
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Instance methods inherited from class Godot::InputEventFromWindow
get_window_id : Int64
get_window_id,
set_window_id(id : Int64) : Void
set_window_id,
window_id
window_id,
window_id=(val : Int)
window_id=
Constructor methods inherited from class Godot::InputEventFromWindow
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Instance methods inherited from class Godot::InputEvent
accumulate(with_event : InputEvent) : Bool
accumulate,
as_text : String
as_text,
device
device,
device=(val : Int)
device=,
get_action_strength(action : String, exact_match : Bool) : Float64
get_action_strength,
get_device : Int64
get_device,
is_action(action : String, exact_match : Bool) : Bool
is_action,
is_action_pressed(action : String, allow_echo : Bool, exact_match : Bool) : Bool
is_action_pressed,
is_action_released(action : String, exact_match : Bool) : Bool
is_action_released,
is_action_type : Bool
is_action_type,
is_canceled : Bool
is_canceled,
is_echo : Bool
is_echo,
is_match(event : InputEvent, exact_match : Bool) : Bool
is_match,
is_pressed : Bool
is_pressed,
is_released : Bool
is_released,
set_device(device : Int64) : Void
set_device,
xformed_by(xform : Transform2D, local_ofs : Vector2) : InputEvent
xformed_by
Constructor methods inherited from class Godot::InputEvent
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Class methods inherited from class Godot::InputEvent
wrap(ptr : Pointer(Void)) : Godot::InputEvent
wrap
Instance methods inherited from class Godot::Resource
copy_from_resource(resource : Resource) : Int64
copy_from_resource,
duplicate(deep : Bool) : Resource
duplicate,
duplicate_deep(deep_subresources_mode : Int64) : Resource
duplicate_deep,
emit_changed : Void
emit_changed,
generate_scene_unique_id : String
generate_scene_unique_id,
get_id_for_path(path : String) : String
get_id_for_path,
get_local_scene : Node
get_local_scene,
get_name : String
get_name,
get_path : String
get_path,
get_rid : Int64
get_rid,
get_scene_unique_id : String
get_scene_unique_id,
is_built_in : Bool
is_built_in,
is_local_to_scene : Bool
is_local_to_scene,
reset_state : Void
reset_state,
resource_local_to_scene
resource_local_to_scene,
resource_local_to_scene=(val)
resource_local_to_scene=,
resource_local_to_scene?
resource_local_to_scene?,
resource_name
resource_name,
resource_name=(val)
resource_name=,
resource_path
resource_path,
resource_path=(val)
resource_path=,
resource_scene_unique_id
resource_scene_unique_id,
resource_scene_unique_id=(val)
resource_scene_unique_id=,
set_id_for_path(path : String, id : String) : Void
set_id_for_path,
set_local_to_scene(enable : Bool) : Void
set_local_to_scene,
set_name(name : String) : Void
set_name,
set_path(path : String) : Void
set_path,
set_path_cache(path : String) : Void
set_path_cache,
set_scene_unique_id(id : String) : Void
set_scene_unique_id,
setup_local_to_scene : Void
setup_local_to_scene,
take_over_path(path : String) : Void
take_over_path
Constructor methods inherited from class Godot::Resource
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Instance methods inherited from class Godot::RefCounted
destroy : Void
destroy,
get_reference_count : Int64
get_reference_count,
init_ref : Bool
init_ref,
reference : Bool
reference,
unreference : Bool
unreference
Constructor methods inherited from class Godot::RefCounted
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Instance methods inherited from class Godot::Object
==(other : Godot::Object) : Bool==(other : Nil) : Bool ==, _godot_call_tool_button(button_name : String) : Void _godot_call_tool_button, _godot_call_virtual(method_name : String, delta : Float64) : Void _godot_call_virtual, _godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void _godot_call_virtual_with_data, _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void _godot_get_property, _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void _godot_set_property, add_user_signal(signal : String, arguments : Godot::Array) : Void add_user_signal, alive? : Bool alive?, await_signal(signal_name : String, timeout_sec : Float64 | Nil = nil) : Array(Variant) await_signal, call(method : String, *args) : Pointer(Void) call, call_bool(method : String, *args) : Bool call_bool, call_deferred(method : String, *args) : Pointer(Void) call_deferred, call_f64(method : String, *args) : Float64 call_f64, call_i64(method : String, *args) : Int64 call_i64, call_obj(method : String, *args) : Node | Nil call_obj, call_obj_as(type : T.class, method : String, *args) : T | Nil forall T call_obj_as, call_str(method : String, *args) : String call_str, callv(method : String, arg_array : Godot::Array) : Pointer(Void) callv, can_translate_messages : Bool can_translate_messages, cancel_free : Void cancel_free, check_alive! : Void check_alive!, connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, callback : Proc(Array(Variant), Void) | Nil = nil) : SignalSubscription
connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : String, listener_target : Godot::Object, method_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None) : SignalSubscription
connect(signal : String, callable : Pointer(Void), flags : Int64) : Int64 connect, connect_one_shot(signal_name : String, &block : Array(Variant) -> Void) : SignalSubscription connect_one_shot, destroy : Void destroy, destroyed? : Bool destroyed?, disconnect(signal : String, callable : Pointer(Void)) : Void
disconnect(signal_name : String) : Void disconnect, editor_hint? : Bool editor_hint?, emit_signal(name : String) : Void
emit_signal(name : String, *args) : Void emit_signal, free : Void free, get(property : String) : Pointer(Void) get, get_class : String get_class, get_incoming_connections : Godot::Array get_incoming_connections, get_indexed(property_path : NodePath) : Pointer(Void) get_indexed, get_instance_id : Int64 get_instance_id, get_meta(name : String, default : Pointer(Void)) : Pointer(Void) get_meta, get_meta_list : Godot::Array get_meta_list, get_method_argument_count(method : String) : Int64 get_method_argument_count, get_method_list : Godot::Array get_method_list, get_property_list : Godot::Array get_property_list, get_script : Pointer(Void) get_script, get_signal_connection_list(signal : String) : Godot::Array get_signal_connection_list, get_signal_list : Godot::Array get_signal_list, get_translation_domain : String get_translation_domain, has_connections(signal : String) : Bool has_connections, has_meta(name : String) : Bool has_meta, has_method(method : String) : Bool has_method, has_signal(signal : String) : Bool has_signal, has_signal?(signal_name : String) : Bool has_signal?, has_user_signal(signal : String) : Bool has_user_signal, hash(hasher) hash, if_alive : self | Nil if_alive, instance_id : UInt64 instance_id, is_blocking_signals : Bool is_blocking_signals, is_class(godot_class : String) : Bool is_class, is_connected(signal : String, callable : Pointer(Void)) : Bool is_connected, is_queued_for_deletion : Bool is_queued_for_deletion, is_valid? : Bool is_valid?, link_class_script : Void link_class_script, notification(what : Int64, reversed : Bool) : Void notification, notify_property_list_changed : Void notify_property_list_changed, pointer : Pointer(Void) pointer, pointer=(val : Pointer(Void)) pointer=, print(*args) print, printerr(*args) printerr, property_can_revert(property : String) : Bool property_can_revert, property_get_revert(property : String) : Pointer(Void) property_get_revert, puts(*args) puts, remove_meta(name : String) : Void remove_meta, remove_user_signal(signal : String) : Void remove_user_signal, set(property : String, value : Pointer(Void)) : Void set, set_block_signals(enable : Bool) : Void set_block_signals, set_deferred(property : String, value : Pointer(Void)) : Void set_deferred, set_indexed(property_path : NodePath, value : Pointer(Void)) : Void set_indexed, set_message_translation(enable : Bool) : Void set_message_translation, set_meta(name : String, value : Pointer(Void)) : Void set_meta, set_script(script : Pointer(Void)) : Void set_script, set_translation_domain(domain : String) : Void set_translation_domain, signal(name : String) : Godot::BoundSignal signal, signal_connection_count(signal_name : String) : Int32 signal_connection_count, signal_target_id : UInt64 signal_target_id, to_s(io : IO) : Void to_s, to_string : String to_string, to_unsafe : Pointer(Void) to_unsafe, tr(message : String, context : String) : String tr, tr_n(message : String, plural_message : String, n : Int64, context : String) : String tr_n