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

Method set_indicator

perro_source/api_modules/perro_input_api/src/window.rs:526–535  ·  view source on GitHub ↗
(&self, index: usize, indicator: u8)

Source from the content-addressed store, hash-verified

524 /// Return viewport size in pixels.
525 #[inline]
526 pub fn viewport_size(&self) -> Vector2 {
527 self.ipt.mouse().viewport_size()
528 }
529
530 /// Return current mouse mode.
531 #[inline]
532 pub fn mode(&self) -> MouseMode {
533 self.ipt.mouse().mode()
534 }
535}
536
537/// Gamepad state and command module.
538pub struct GamepadModule<'ipt, IP: InputAPI + ?Sized> {

Callers

nothing calls this directly

Calls 2

command_bufferMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected