A container widget scrolled while the shape is distorted. More...
Public Member Functions | |
| LiveScrollPanel () | |
| Constructor. | |
| override void | AddChildFirst (Widget child) |
| Adds the child widget to the beginning. | |
| override void | AddChildLast (Widget child) |
| Adds the child widget to the end. | |
| override void | InsertChildBefore (Widget child, Widget nextChild) |
| Inserts it immediately in front of the specified child widget. | |
| override void | InsertChildAfter (Widget child, Widget prevChild) |
| Inserts it immediately after the specified child widget. | |
| override void | RemoveChild (Widget child) |
| Deletes the specified child widget. | |
Protected Member Functions | |
| internal override void | OnResetState () |
| Resets the state. | |
| override void | DisposeSelf () |
| Frees used resources. | |
| override void | OnUpdate (float elapsedTime) |
| Update processing. | |
| internal override void | OnTouchEvent (TouchEventCollection touchEvents) |
| Touch event handler. | |
Properties | |
| float | Elasticity [get, set] |
| Obtains and sets the distortion elasticity. | |
| override float | Width [get, set] |
| Obtains and sets the width. | |
| override float | Height [get, set] |
| Obtains and sets the height. | |
| float | PanelX [get, set] |
| Obtains and sets the X coordinate of the panel in the parent coordinate system. | |
| float | PanelY [get, set] |
| Obtains and sets the Y coordinate of the panel in the parent coordinate system. | |
| float | PanelWidth [get, set] |
| Obtains and sets the width of the panel. | |
| float | PanelHeight [get, set] |
| Obtains and sets the height of the panel. | |
| float | MaxTextureWidth [get, set] |
| Obtains and sets the maximum value of the texture width. | |
| float | MaxTextureHeight [get, set] |
| Obtains and sets the maximum value of the texture height. | |
| UIColor | PanelColor [get, set] |
| Obtains and sets the color of the panel. | |
| bool | HorizontalScroll [get, set] |
| Obtains and sets whether to perform horizontal scrolling. | |
| bool | VerticalScroll [get, set] |
| Obtains and sets whether to perform vertical scrolling. | |
| override IEnumerable< Widget > | Children [get] |
| Obtains the child widget. | |
A container widget scrolled while the shape is distorted.
| override void AddChildFirst | ( | Widget | child | ) | [virtual] |
Adds the child widget to the beginning.
| child | Child widget to be added |
Moves it to the beginning if it has already been added.
Reimplemented from ContainerWidget.
| override void AddChildLast | ( | Widget | child | ) | [virtual] |
Adds the child widget to the end.
| child | Child widget to be added |
Moves it to the end if it has already been added.
Reimplemented from ContainerWidget.
Inserts it immediately after the specified child widget.
| child | Child widget to be inserted |
| prevChild | Child widget immediately in front of the inserted child widget |
Moves it immediately after the specified child widget if it has already been added.
Reimplemented from ContainerWidget.
Inserts it immediately in front of the specified child widget.
| child | Child widget to be inserted |
| nextChild | Child widget immediately after the inserted child widget |
Moves it immediately in front of the specified child widget if it has already been added.
Reimplemented from ContainerWidget.
| internal override void OnTouchEvent | ( | TouchEventCollection | touchEvents | ) | [protected, virtual] |
| override void OnUpdate | ( | float | elapsedTime | ) | [protected, virtual] |
Update processing.
| elapsedTime | Elapsed time from previous update (ms) |
If elapsedTime is 10 seconds or more, the update processing is skipped.
Reimplemented from Widget.
| override void RemoveChild | ( | Widget | child | ) | [virtual] |
Deletes the specified child widget.
| child | Child widget to be deleted |
Reimplemented from ContainerWidget.
override IEnumerable<Widget> Children [get] |
Obtains the child widget.
Returns the enumerator that repetitively handles the collection.
Reimplemented from ContainerWidget.
float Elasticity [get, set] |
Obtains and sets the distortion elasticity.
The vibration increases as the value above 0 increases. Default value is 1.