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

Method pressed_hash

perro_source/api_modules/perro_input_api/src/window.rs:210–212  ·  view source on GitHub ↗
(&self, name_hash: u64)

Source from the content-addressed store, hash-verified

208 /// Return `true` when any binding for the hashed action is pressed this frame.
209 #[inline]
210 pub fn pressed_hash(&self, name_hash: u64) -> bool {
211 self.ipt.action_pressed_hash(name_hash)
212 }
213
214 /// Return `true` when any binding for the hashed action is released this frame.
215 #[inline]

Callers 2

pressedMethod · 0.45
action_pressed_hashMethod · 0.45

Calls 1

action_pressed_hashMethod · 0.45

Tested by

no test coverage detected