Struct roblox::instance::ScreenGui [−][src]
pub struct ScreenGui<'a> {Show 28 fields
pub display_order: i32,
pub ignore_gui_inset: bool,
pub on_top_of_core_blur: bool,
pub enabled: bool,
pub reset_on_spawn: bool,
pub z_index_behavior: ZIndexBehavior,
pub absolute_position: Vector2,
pub absolute_rotation: f32,
pub absolute_size: Vector2,
pub auto_localize: bool,
pub clipped_rect: Rect,
pub is_not_occluded: bool,
pub raw_rect2_d: Rect,
pub root_localization_table: Option<InstanceRef>,
pub total_group_scale: f32,
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 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 ScreenGui Instance Class
Fields
display_order: i32ignore_gui_inset: boolon_top_of_core_blur: boolenabled: boolInherited from LayerCollector
reset_on_spawn: boolInherited from LayerCollector
z_index_behavior: ZIndexBehaviorInherited from LayerCollector
absolute_position: Vector2Inherited from GuiBase2d
absolute_rotation: f32Inherited from GuiBase2d
absolute_size: Vector2Inherited from GuiBase2d
auto_localize: boolInherited from GuiBase2d
clipped_rect: RectInherited from GuiBase2d
is_not_occluded: boolInherited from GuiBase2d
raw_rect2_d: RectInherited from GuiBase2d
root_localization_table: Option<InstanceRef>Inherited from GuiBase2d
total_group_scale: f32Inherited from GuiBase2d
archivable: boolInherited from Instance
class_name: &'a strInherited from Instance
name: &'a strInherited from Instance
parent: Option<InstanceRef>Inherited from Instance
roblox_locked: boolInherited from Instance
source_asset_id: i64Inherited from Instance
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 ScreenGui object.
Equivalent to Instance.new(“ScreenGui”) in Luau.
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
Auto Trait Implementations
impl<'a> RefUnwindSafe for ScreenGui<'a>
impl<'a> UnwindSafe for ScreenGui<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more