Class
PinchableScrollRect
: ScrollRect : UIBehaviour : MonoBehaviour : Behaviour : Component : Object : Object0x00x01A0
Members 18
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | resetOnEnable | bool | 1 flags | — | |
| 0x01 | lockPinchCenter | bool | 1 flags | — | |
| 0x0132 | 0x02 | padding / unreflected | |||
| 0x08 | initPivot | Vector2 | Private | — | |
| 0x08 | initAnchored | Vector2 | Private | — | |
| 0x0C | initScale | Vector3 | Private | — | |
| 0x04 | zoomVelocity | float | Private | — | |
| 0x08 | zoomPosDelta | Vector2 | Private | — | |
| 0x01 | updatePivot | bool | Private | — | |
| 0x01 | isZooming | bool | 1 flags | — | |
| 0x015E | 0x02 | padding / unreflected | |||
| 0x08 | pinchStartPos | Vector2 | 1 flags | — | |
| 0x0C | lowerScale | Vector3 | Public | — | |
| 0x0C | upperScale | Vector3 | Public | — | |
| 0x04 | pinchSensitivity | float | 1 flags | — | |
| 0x04 | zoomMaxSpeed | float | 1 flags | — | |
| 0x04 | zoomDeceleration | float | 1 flags | — | |
| 0x01 | initialized | bool | Private | — | |
| 0x018D | 0x03 | padding / unreflected | |||
| 0x08 | _onScaleChanged | PinchEvent | Private | — | |
| 0x08 | zoomPoint | RectTransform | Private | — | |
Inherited from ScrollRect 37
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_Content | RectTransform | Private | — | |
| 0x01 | m_Horizontal | bool | Private | — | |
| 0x01 | m_Vertical | bool | Private | — | |
| 0x002A | 0x02 | padding / unreflected | |||
| 0x04 | m_MovementType | MovementType | Private | — | |
| 0x04 | m_Elasticity | float | Private | — | |
| 0x01 | m_Inertia | bool | Private | — | |
| 0x0035 | 0x03 | padding / unreflected | |||
| 0x04 | m_DecelerationRate | float | Private | — | |
| 0x04 | m_ScrollSensitivity | float | Private | — | |
| 0x08 | m_Viewport | RectTransform | Private | — | |
| 0x08 | m_HorizontalScrollbar | Scrollbar | Private | — | |
| 0x08 | m_VerticalScrollbar | Scrollbar | Private | — | |
| 0x04 | m_HorizontalScrollbarVisibility | ScrollbarVisibility | Private | — | |
| 0x04 | m_VerticalScrollbarVisibility | ScrollbarVisibility | Private | — | |
| 0x04 | m_HorizontalScrollbarSpacing | float | Private | — | |
| 0x04 | m_VerticalScrollbarSpacing | float | Private | — | |
| 0x08 | m_OnValueChanged | ScrollRectEvent | Private | — | |
| 0x08 | m_PointerStartLocalCursor | Vector2 | Private | — | |
| 0x08 | m_ContentStartPosition | Vector2 | 1 flags | — | |
| 0x08 | m_ViewRect | RectTransform | Private | — | |
| 0x18 | m_ContentBounds | Bounds | 1 flags | — | |
| 0x18 | m_ViewBounds | Bounds | Private | — | |
| 0x08 | m_Velocity | Vector2 | Private | — | |
| 0x01 | m_Dragging | bool | Private | — | |
| 0x01 | m_Scrolling | bool | Private | — | |
| 0x00C2 | 0x02 | padding / unreflected | |||
| 0x08 | m_PrevPosition | Vector2 | Private | — | |
| 0x18 | m_PrevContentBounds | Bounds | Private | — | |
| 0x18 | m_PrevViewBounds | Bounds | Private | — | |
| 0x01 | m_HasRebuiltLayout | bool | Private+1 flags | — | |
| 0x01 | m_HSliderExpand | bool | Private | — | |
| 0x01 | m_VSliderExpand | bool | Private | — | |
| 0x00FF | 0x01 | padding / unreflected | |||
| 0x04 | m_HSliderHeight | float | Private | — | |
| 0x04 | m_VSliderWidth | float | Private | — | |
| 0x08 | m_Rect | RectTransform | Private+1 flags | — | |
| 0x08 | m_HorizontalScrollbarRect | RectTransform | Private | — | |
| 0x08 | m_VerticalScrollbarRect | RectTransform | Private | — | |
| 0x01 | m_Tracker | DrivenRectTransformTracker | Private | — | |
| 0x0121 | 0x07 | padding / unreflected | |||
| 0x08 | m_Corners | Vector3[] | Private+1 flags | — | |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 23
| Signature | Flags | Native | Params |
|---|---|---|---|
| PinchEvent get_onScaleChanged() | Public+1 flags | 0x08 | |
| void set_onScaleChanged(PinchEvent value) | Public+1 flags | 0x08 | |
| void Start() | 2 flags | 0x00 | |
| void OnEnable() | 2 flags | 0x00 | |
| void OnPinchStart(PinchEventData eventData) | Public+2 flags | 0x08 | |
| void OnPinchEnd(PinchEventData eventData) | Public+2 flags | 0x08 | |
| void OnPinchZoom(PinchEventData eventData) | Public+2 flags | 0x08 | |
| void OnScroll(PointerEventData eventData) | Public+1 flags | 0x08 | |
| void ControlZoom(float zoomAmount) | Public | 0x04 | |
| Vector2 GetZoomPointInContentLocal() | Private | 0x08 | |
| void Update() | 3 flags | 0x00 | |
| void LateUpdate() | 2 flags | 0x00 | |
| void HandleZoom(float zoomValue) | 3 flags | 0x04 | |
| void SetContentPivotPosition(const Vector2& pivot) | 3 flags | 0x08 | |
| void SetContentLocalScale(const Vector3& newScale) | 3 flags | 0x0C | |
| void ResetZoom() | 1 flags | 0x00 | |
| void SetNormalizedScale(float normalized) | Public | 0x04 | |
| void ResetContent() | Public+2 flags | 0x00 | |
| void OnDrag(PointerEventData eventData) | Public+1 flags | 0x08 | |
| void OnBeginDrag(PointerEventData eventData) | Public+1 flags | 0x08 | |
| void OnEndDrag(PointerEventData eventData) | Public+1 flags | 0x08 | |
| float GetScaleFactor() | Public | 0x04 | |
| void .ctor() | Public+1 flags | 0x00 |