Struct roblox::instance::VirtualInputManager [−][src]
pub struct VirtualInputManager<'a> {}Show 16 fields
pub additional_lua_state: &'a str, pub archivable: bool, pub class_name: &'a str, pub name: &'a str, pub parent: Option<InstanceRef>, pub roblox_locked: bool, pub source_asset_id: i64, pub playback_completed: RBXScriptSignal<&'a str>, pub recording_completed: RBXScriptSignal<&'a str>, pub ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>, pub attribute_changed: RBXScriptSignal<&'a str>, pub changed: RBXScriptSignal<&'a str>, pub child_added: RBXScriptSignal<Option<InstanceRef>>, pub child_removed: RBXScriptSignal<Option<InstanceRef>>, pub descendant_added: RBXScriptSignal<Option<InstanceRef>>, pub descendant_removing: RBXScriptSignal<Option<InstanceRef>>,
Expand description
The VirtualInputManager Instance Class
Fields
additional_lua_state: &'a str
archivable: bool
Inherited from Instance
class_name: &'a str
Inherited from Instance
name: &'a str
Inherited from Instance
parent: Option<InstanceRef>
Inherited from Instance
roblox_locked: bool
Inherited from Instance
source_asset_id: i64
Inherited from Instance
playback_completed: RBXScriptSignal<&'a str>
recording_completed: RBXScriptSignal<&'a str>
ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>
Inherited from Instance
attribute_changed: RBXScriptSignal<&'a str>
Inherited from Instance
changed: RBXScriptSignal<&'a str>
Inherited from Instance
child_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
child_removed: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_removing: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
Implementations
Creates a new VirtualInputManager object.
Equivalent to Instance.new(“VirtualInputManager”) in Luau.
pub fn send_key_event(
&self,
is_pressed: bool,
key_code: KeyCode,
is_repeated_key: bool,
layer_collector: Option<InstanceRef>
)
pub fn send_mouse_wheel_event(
&self,
x: f32,
y: f32,
is_forward_scroll: bool,
layer_collector: Option<InstanceRef>
)
pub fn send_text_input_character_event(
&self,
str: &'a str,
layer_collector: Option<InstanceRef>
)
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for VirtualInputManager<'a>
impl<'a> Send for VirtualInputManager<'a>
impl<'a> Sync for VirtualInputManager<'a>
impl<'a> Unpin for VirtualInputManager<'a>
impl<'a> UnwindSafe for VirtualInputManager<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more