Difference between revisions of "GUIBaseWindow"
From Virtual World Web Wiki
(Documentation for the GUIBaseWindow class) |
(Documentation for the GUIBaseWindow class) |
||
Line 26: | Line 26: | ||
:: | :: | ||
::Should the full screen blur effect be active while this window is visible? | ::Should the full screen blur effect be active while this window is visible? | ||
+ | |||
+ | :{{CSharp|bool HideLoadingText {get; set;} }} | ||
+ | :: | ||
+ | ::Does this window hide the "loading ..." text on the loading screen | ||
+ | |||
+ | :{{CSharp|bool IsHUD {get; set;} }} | ||
+ | :: | ||
+ | ::Prevents this window from being brought to the front by clicking on it. | ||
:{{CSharp|GUIContainer ParentContainer {get; set;} }} | :{{CSharp|GUIContainer ParentContainer {get; set;} }} |
Revision as of 12:33, 23 May 2018
A basic panel that can hold components somewhere on the screen
- Inherits class: GUIContainer
- This is a JavaScript visible object
Remarks [edit]
Properties
- GUISprite Background {get;}
- Reference to the background image for the window
- bool BackgroundBlur {get; set;}
- Should we blur the back of the image
- Color32 BackgroundColor {get; set;}
- Tint color applied to the background image
- JSVector4 Border {get; set;}
- Border to use for slicing the background image
- bool FullScreenEffect {get; set;}
- Should the full screen blur effect be active while this window is visible?
- bool HideLoadingText {get; set;}
- Does this window hide the "loading ..." text on the loading screen
- bool IsHUD {get; set;}
- Prevents this window from being brought to the front by clicking on it.
- GUIContainer ParentContainer {get; set;}
- Parents this window inside another container (window or component). This reduces the autonomy of the window (and will destroy it if the parent is destroyed).
- bool ShowWhileLoading {get; set;}
- Does this window appear on top of the loading screen?
- bool Visible {get; set;}
Events
- OnHide()
- Event called when the visible value of this window becomes false
- OnShow()
- Event called when the visible value of this window becomes true
Methods
- void BringToFront()
- Move this window to the front of the Z order