Difference between revisions of "GUIPanel"
From Virtual World Web Wiki
(Documentation for the GUIPanel class) |
(Documentation for the GUIPanel class) |
||
Line 10: | Line 10: | ||
:: | :: | ||
::Border for the Image sprite. | ::Border for the Image sprite. | ||
+ | |||
+ | :{{CSharp|bool ContrastEffect {get; set;} }} | ||
+ | :: | ||
+ | ::Enables a high-contrast effect on the panel | ||
+ | |||
+ | :{{CSharp|bool EffectsColorMode {get; set;} }} | ||
+ | :: | ||
+ | ::Enables DarkMode for the contrast effect | ||
:{{CSharp|GUISprite Image {get;} }} | :{{CSharp|GUISprite Image {get;} }} |
Revision as of 12:40, 6 September 2017
A component representing a panel with layout and subcomponents
- Inherits class: GUILayoutComponent
- This is a JavaScript visible object
Remarks [edit]
Properties
- JSVector4 Border {get; set;}
- Border for the Image sprite.
- bool ContrastEffect {get; set;}
- Enables a high-contrast effect on the panel
- bool EffectsColorMode {get; set;}
- Enables DarkMode for the contrast effect
- GUISprite Image {get;}
- Reference to the image background of the panel
- Type ImageType {get; set;}
- ImageType for the Image sprite
- bool Mask {get; set;}
- Whether this panel should mask its contents (i.e.: clip them against its image)
- bool PreserveAspect {get; set;}
- PreserveAspect for the Image sprite