MCPcopy Create free account
hub / github.com/PerroEngine/Perro / clear

Method clear

perro_source/api_modules/perro_input_api/src/state.rs:39–44  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

37 /// Release every held key and clear one-frame keyboard state.
38 #[inline]
39 pub fn clear(&mut self) {
40 self.down.fill(0);
41 self.pressed.fill(0);
42 self.released.fill(0);
43 self.text_inputs.clear();
44 }
45
46 // ---- Event input ----
47

Callers 15

set_state_scene_docFunction · 0.45
clear_scene_doc_cacheFunction · 0.45
parse_recent_projectsFunction · 0.45
parse_script_schemaFunction · 0.45
push_substituted_tokenFunction · 0.45

Calls 1

fillMethod · 0.80

Tested by 6

parse_script_schemaFunction · 0.36
push_substituted_tokenFunction · 0.36