GUI Global
From Virtual World Web Wiki
Revision as of 17:38, 17 February 2017 by Spark5 (Talk | contribs) (Documentation for the GUI Global class)
- This is a JavaScript visible object
- This is a JavaScript global object named 'GUI'
Remarks [edit]
Properties
- Single DPI {get;}
- Single Framerate {get;}
- Single FramerateFrequency {get; set;}
- int Height {get;}
- Returns the height (in pixels) of the client-usable screen space.
- bool IsLoading {get;}
- Single Latency {get;}
- int Width {get;}
- Returns the width (in pixels) of the client-usable screen space
Methods
- GUIBaseWindow CreateBaseWindow(string name)
- GUIBaseWindow CreateRawWindow(string name)
- GUIWindow CreateWindow(string name)
- void DefineGlobalTemplates(string json)
- void DefineLocalTemplates(string json)
- void EnableFreecam(bool enabled)
- string[] FindResources(string path, string extensions)
- GUIBaseWindow GetWindowByName(string name)
- void InfoFadeout(string message)
- void LoadTemplates(string filename)
- GUIBaseWindow LoadUI(string json)
- GUIBaseWindow LoadUIFile(string filename)
- string LoadUISettings(string filename)
- bool NavigateTo(string address, string startpoint)
- GUIWindow NewWindow(string name)
- bool RegisterGlobalTexture(string name, ResourceValue texture)
- void RegisterTutorialItem(string tutorialIdentifier, string itemIdentifier, GUIContainer target, string message)
- void SetCameraBloom(Single amount)
- void SetCameraBlur(bool enabled, Single amount)
- void SetCameraContrastEnhance(Single amount)
- void SetCameraFisheye(Single amount)
- void SetCameraMotionBlur(Single amount)
- void SetCameraNoise(Single amount)
- void SetCameraSaturation(Single amount)
- void SetCameraShake(DetailsBlock details, Single amount)
- void SetCameraVignetting(bool enabled, Single vignettingAmount, Single edgeBlurAmount)
- void SetCameraWobble(Single angle, Single speed)
- void SetSmallTooltipOffset(Single x, Single y)
- void SetTooltipDelay(Single ms)
- void SetTooltipOffset(Single x, Single y)
- void ShowConfirmation(string title, string description, string buttonOptions, JSFlexibleFunction callback)
- void ShowNotification(string title, string description, string buttons, int timeoutInMilliseconds, JSFlexibleFunction callback)
- void ShowTutorial(string tutorialIdentifier)