Difference between revisions of "GUIPanel"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the GUIPanel class)
(Documentation for the GUIPanel class)
Line 1: Line 1:
A component representing a panel with layout and subcomponents
 
 
 
*'''Inherits class: [[GUILayoutComponent]]'''
 
*'''Inherits class: [[GUILayoutComponent]]'''
 
* This is a JavaScript visible object
 
* This is a JavaScript visible object
Line 8: Line 6:
 
===Properties===
 
===Properties===
 
:{{CSharp|JSVector4 Border {get; set;} }}
 
:{{CSharp|JSVector4 Border {get; set;} }}
::
 
::Border for the Image sprite.
 
  
 
:{{CSharp|GUISprite Image {get;} }}
 
:{{CSharp|GUISprite Image {get;} }}
::
 
::Reference to the image background of the panel
 
  
 
:{{CSharp|Type ImageType {get; set;} }}
 
:{{CSharp|Type ImageType {get; set;} }}
::
 
::ImageType for the Image sprite
 
  
 
:{{CSharp|bool Mask {get; set;} }}
 
:{{CSharp|bool Mask {get; set;} }}
::
 
::Whether this panel should mask its contents (i.e.: clip them against its image)
 
  
 
:{{CSharp|bool PreserveAspect {get; set;} }}
 
:{{CSharp|bool PreserveAspect {get; set;} }}
::
 
::PreserveAspect for the Image sprite
 
  
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__

Revision as of 12:49, 26 May 2017

Remarks [edit]

Properties

JSVector4 Border {get; set;}
GUISprite Image {get;}
Type ImageType {get; set;}
bool Mask {get; set;}
bool PreserveAspect {get; set;}