Difference between revisions of "GUIScrollBox"
From Virtual World Web Wiki
(Documentation for the GUIScrollBox class) |
(Documentation for the GUIScrollBox class) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
*'''Inherits class: [[GUIPanel]]''' | *'''Inherits class: [[GUIPanel]]''' | ||
* This is a JavaScript visible object | * This is a JavaScript visible object | ||
Line 8: | Line 6: | ||
===Properties=== | ===Properties=== | ||
:{{CSharp|bool AlwaysShowHorizontal {get; set;} }} | :{{CSharp|bool AlwaysShowHorizontal {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|bool AlwaysShowVertical {get; set;} }} | :{{CSharp|bool AlwaysShowVertical {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUIRectTransform Content {get; set;} }} | :{{CSharp|GUIRectTransform Content {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|float DecelerationRate {get; set;} }} | :{{CSharp|float DecelerationRate {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|float Elasticity {get; set;} }} | :{{CSharp|float Elasticity {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|int Height {get; set;} }} | :{{CSharp|int Height {get; set;} }} | ||
+ | |||
:{{CSharp|bool HorizontalMouseScroll {get; set;} }} | :{{CSharp|bool HorizontalMouseScroll {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUISprite HorizontalScrollHandleSprite {get;} }} | :{{CSharp|GUISprite HorizontalScrollHandleSprite {get;} }} | ||
− | |||
− | |||
:{{CSharp|GUISprite HorizontalScrollSprite {get;} }} | :{{CSharp|GUISprite HorizontalScrollSprite {get;} }} | ||
− | + | ||
− | : | + | :{{CSharp|bool HorizontalScrollVisible {get;} }} |
:{{CSharp|GUIRectTransform HorizontalScrollbar {get; set;} }} | :{{CSharp|GUIRectTransform HorizontalScrollbar {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|bool HorizontalScrolling {get; set;} }} | :{{CSharp|bool HorizontalScrolling {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|bool Inertia {get; set;} }} | :{{CSharp|bool Inertia {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|MovementType MovementType {get; set;} }} | :{{CSharp|MovementType MovementType {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|bool PreferContentHeight {get; set;} }} | :{{CSharp|bool PreferContentHeight {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|bool PreferContentWidth {get; set;} }} | :{{CSharp|bool PreferContentWidth {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|JSVector2 ScrollPos {get; set;} }} | :{{CSharp|JSVector2 ScrollPos {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|float ScrollSpeed {get; set;} }} | :{{CSharp|float ScrollSpeed {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUISprite VerticalScrollHandleSprite {get;} }} | :{{CSharp|GUISprite VerticalScrollHandleSprite {get;} }} | ||
− | |||
− | |||
:{{CSharp|GUISprite VerticalScrollSprite {get;} }} | :{{CSharp|GUISprite VerticalScrollSprite {get;} }} | ||
− | + | ||
− | : | + | :{{CSharp|bool VerticalScrollVisible {get;} }} |
:{{CSharp|GUIRectTransform VerticalScrollbar {get; set;} }} | :{{CSharp|GUIRectTransform VerticalScrollbar {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|bool VerticalScrolling {get; set;} }} | :{{CSharp|bool VerticalScrolling {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|int Width {get; set;} }} | :{{CSharp|int Width {get; set;} }} | ||
+ | |||
===Events=== | ===Events=== | ||
:{{CSharp|OnScroll()}} | :{{CSharp|OnScroll()}} | ||
− | |||
− | |||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 12:49, 26 May 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;}
- bool HorizontalScrollVisible {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;}
- bool VerticalScrollVisible {get;}
- GUIRectTransform VerticalScrollbar {get; set;}
- bool VerticalScrolling {get; set;}
- int Width {get; set;}
Events
- OnScroll()