IScrollRectProxy Interface |
Namespace: frame8.Logic.Misc.Visual.UI
public interface IScrollRectProxy
The IScrollRectProxy type exposes the following members.
| Name | Description | |
|---|---|---|
| gameObject | Tha game object which represents the scroll rect. Lowercase, so that monobehaviours won't be forced override it, as they already have this property | |
| IsHorizontal | ||
| IsVertical | ||
| Velocity | The velocity of the content panel in local UI space (from left to right = positive, from bottom to top = positive) |
| Name | Description | |
|---|---|---|
| GetContentSize | The width of the content panel, if the ScrollRect is horizontal (the height, else) | |
| GetNormalizedPosition | ||
| SetNormalizedPosition | normalizedPosition is exactly the same as the ScrollRect.horizontalNormalizedPosition, if the ScrollRect is horizontal (ScrollRect.verticalNormalizedPosition, else) | |
| StopMovement |
| Name | Description | |
|---|---|---|
| ScrollPositionChanged | The float parameter has the same format as described in SetNormalizedPosition(Double) |