GUIImageBox

From Virtual World Web Wiki
Jump to: navigation, search

Simple component representing an image or icon

  • Inherits class: GUIComponent
  • This is a JavaScript visible object

Remarks [edit]

Properties

JSVector4 Border {get; set;}
What border should we use when displaying the sprite in Sliced or Fill mode?
Color32 DisabledTint {get; set;}
Color multiplier to use when this object is disabled.
bool Enabled {get; set;}
GUISprite Image {get;}
Reference to the sprite class used to display the image
Type ImageType {get; set;}
What method should we use for displaying the sprite
bool PreserveAspect {get; set;}
Should the underlying sprite's aspect ratio be respected
Color32 Tint {get; set;}
Color multiplier applied to the sprite