Difference between revisions of "GUIScrollBox"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the GUIScrollBox class)
(Documentation for the GUIScrollBox class)
Line 11: Line 11:
 
:{{CSharp|GUIRectTransform Content {get; set;} }}
 
:{{CSharp|GUIRectTransform Content {get; set;} }}
  
:{{CSharp|Single DecelerationRate {get; set;} }}
+
:{{CSharp|float DecelerationRate {get; set;} }}
  
:{{CSharp|Single Elasticity {get; set;} }}
+
:{{CSharp|float Elasticity {get; set;} }}
  
 
:{{CSharp|int Height {get; set;} }}
 
:{{CSharp|int Height {get; set;} }}
Line 37: Line 37:
 
:{{CSharp|JSVector2 ScrollPos {get; set;} }}
 
:{{CSharp|JSVector2 ScrollPos {get; set;} }}
  
:{{CSharp|Single ScrollSpeed {get; set;} }}
+
:{{CSharp|float ScrollSpeed {get; set;} }}
  
 
:{{CSharp|GUISprite VerticalScrollHandleSprite {get;} }}
 
:{{CSharp|GUISprite VerticalScrollHandleSprite {get;} }}

Revision as of 17:57, 20 February 2017

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

Remarks [edit]

Properties

bool AlwaysShowHorizontal {get; set;}
bool AlwaysShowVertical {get; set;}
GUIRectTransform Content {get; set;}
float DecelerationRate {get; set;}
float Elasticity {get; set;}
int Height {get; set;}
bool HorizontalMouseScroll {get; set;}
GUISprite HorizontalScrollHandleSprite {get;}
GUISprite HorizontalScrollSprite {get;}
GUIRectTransform HorizontalScrollbar {get; set;}
bool HorizontalScrolling {get; set;}
bool Inertia {get; set;}
MovementType MovementType {get; set;}
bool PreferContentHeight {get; set;}
bool PreferContentWidth {get; set;}
JSVector2 ScrollPos {get; set;}
float ScrollSpeed {get; set;}
GUISprite VerticalScrollHandleSprite {get;}
GUISprite VerticalScrollSprite {get;}
GUIRectTransform VerticalScrollbar {get; set;}
bool VerticalScrolling {get; set;}
int Width {get; set;}

Events

OnScroll(EventHandler<FlexibleEventArgs>)