Difference between revisions of "GUISelectableComponent"
From Virtual World Web Wiki
(Documentation for the GUISelectableComponent class) |
(Documentation for the GUISelectableComponent class) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
*'''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;} }} | ||
− | |||
− | |||
:{{CSharp|GUIAudio ClickSound {get;} }} | :{{CSharp|GUIAudio ClickSound {get;} }} | ||
− | |||
− | |||
:{{CSharp|Color32 DisabledColor {get; set;} }} | :{{CSharp|Color32 DisabledColor {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUISprite DisabledTexture {get;} }} | :{{CSharp|GUISprite DisabledTexture {get;} }} | ||
− | |||
− | |||
:{{CSharp|bool Enabled {get; set;} }} | :{{CSharp|bool Enabled {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|float FadeDuration {get; set;} }} | :{{CSharp|float FadeDuration {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|bool FillCenter {get; set;} }} | :{{CSharp|bool FillCenter {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|Color32 HoverColor {get; set;} }} | :{{CSharp|Color32 HoverColor {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUIAudio HoverSound {get;} }} | :{{CSharp|GUIAudio HoverSound {get;} }} | ||
− | |||
− | |||
:{{CSharp|GUISprite HoverTexture {get;} }} | :{{CSharp|GUISprite HoverTexture {get;} }} | ||
− | |||
− | |||
:{{CSharp|Type ImageType {get; set;} }} | :{{CSharp|Type ImageType {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUISelectableComponent NextResponder {get; set;} }} | :{{CSharp|GUISelectableComponent NextResponder {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|Color32 NormalColor {get; set;} }} | :{{CSharp|Color32 NormalColor {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUISprite NormalTexture {get;} }} | :{{CSharp|GUISprite NormalTexture {get;} }} | ||
− | |||
− | |||
:{{CSharp|bool PreserveAspect {get; set;} }} | :{{CSharp|bool PreserveAspect {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|Color32 PressedColor {get; set;} }} | :{{CSharp|Color32 PressedColor {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUISprite PressedTexture {get;} }} | :{{CSharp|GUISprite PressedTexture {get;} }} | ||
− | |||
− | |||
:{{CSharp|bool TabStop {get; set;} }} | :{{CSharp|bool TabStop {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUILabel Text {get;} }} | :{{CSharp|GUILabel Text {get;} }} | ||
− | |||
− | |||
:{{CSharp|Transition Transition {get; set;} }} | :{{CSharp|Transition Transition {get; set;} }} | ||
− | |||
− | |||
===Events=== | ===Events=== | ||
:{{CSharp|OnBlur()}} | :{{CSharp|OnBlur()}} | ||
− | |||
− | |||
:{{CSharp|OnFocus()}} | :{{CSharp|OnFocus()}} | ||
− | |||
− | |||
:{{CSharp|OnMouseEntered()}} | :{{CSharp|OnMouseEntered()}} | ||
− | |||
− | |||
:{{CSharp|OnMouseExited()}} | :{{CSharp|OnMouseExited()}} | ||
− | |||
− | |||
:{{CSharp|OnOpenContext()}} | :{{CSharp|OnOpenContext()}} | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
:{{CSharp|void SetFocus()}} | :{{CSharp|void SetFocus()}} | ||
− | |||
− | |||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 12:49, 26 May 2017
- Inherits class: GUILayoutComponent
- This is a JavaScript visible object
Remarks [edit]
Properties
- JSVector4 Border {get; set;}
- GUIAudio ClickSound {get;}
- Color32 DisabledColor {get; set;}
- GUISprite DisabledTexture {get;}
- bool Enabled {get; set;}
- float FadeDuration {get; set;}
- bool FillCenter {get; set;}
- Color32 HoverColor {get; set;}
- GUIAudio HoverSound {get;}
- GUISprite HoverTexture {get;}
- Type ImageType {get; set;}
- GUISelectableComponent NextResponder {get; set;}
- Color32 NormalColor {get; set;}
- GUISprite NormalTexture {get;}
- bool PreserveAspect {get; set;}
- Color32 PressedColor {get; set;}
- GUISprite PressedTexture {get;}
- bool TabStop {get; set;}
- GUILabel Text {get;}
- Transition Transition {get; set;}
Events
- OnBlur()
- OnFocus()
- OnMouseEntered()
- OnMouseExited()
- OnOpenContext()
Methods
- void SetFocus()