terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UnityEngine.UI.ScrollRect Class Reference
+ Inheritance diagram for UnityEngine.UI.ScrollRect:
+ Collaboration diagram for UnityEngine.UI.ScrollRect:

Classes

class  ScrollRectEvent
 

Public Types

enum  MovementType { Unrestricted , Elastic , Clamped }
 
enum  ScrollbarVisibility { Permanent , AutoHide , AutoHideAndExpandViewport }
 

Public Member Functions

virtual void Rebuild (CanvasUpdate executing)
 
virtual void LayoutComplete ()
 
virtual void GraphicUpdateComplete ()
 
override bool IsActive ()
 
virtual void StopMovement ()
 
virtual void OnScroll (PointerEventData data)
 
virtual void OnInitializePotentialDrag (PointerEventData eventData)
 
virtual void OnBeginDrag (PointerEventData eventData)
 
virtual void OnEndDrag (PointerEventData eventData)
 
virtual void OnDrag (PointerEventData eventData)
 
virtual void CalculateLayoutInputHorizontal ()
 
virtual void CalculateLayoutInputVertical ()
 
virtual void SetLayoutHorizontal ()
 
virtual void SetLayoutVertical ()
 
bool IsDestroyed ()
 
bool IsInvoking ()
 
bool IsInvoking (string methodName)
 
void CancelInvoke ()
 
void CancelInvoke (string methodName)
 
void Invoke (string methodName, float time)
 
void InvokeRepeating (string methodName, float time, float repeatRate)
 
Coroutine StartCoroutine (string methodName)
 
Coroutine StartCoroutine (string methodName, [DefaultValue("null")] object value)
 
Coroutine StartCoroutine (IEnumerator routine)
 
Coroutine StartCoroutine_Auto (IEnumerator routine)
 
void StopCoroutine (IEnumerator routine)
 
void StopCoroutine (Coroutine routine)
 
void StopCoroutine (string methodName)
 
void StopAllCoroutines ()
 
Component GetComponent (Type type)
 
T GetComponent< T > ()
 
Component GetComponentInChildren (Type t, bool includeInactive)
 
T GetComponentInChildren< T > ()
 
T[] GetComponentsInChildren< T > (bool includeInactive)
 
void GetComponentsInChildren< T > (bool includeInactive, List< T > result)
 
void GetComponentsInChildren< T > (List< T > results)
 
Component GetComponentInParent (Type t, bool includeInactive)
 
T GetComponentInParent< T > ()
 
T[] GetComponentsInParent< T > (bool includeInactive)
 
void GetComponentsInParent< T > (bool includeInactive, List< T > results)
 
T[] GetComponentsInParent< T > ()
 
void GetComponents (Type type, List< Component > results)
 
void GetComponents< T > (List< T > results)
 
T[] GetComponents< T > ()
 
unsafe int GetInstanceID ()
 
override int GetHashCode ()
 
override bool Equals (object other)
 
static void Destroy (Object obj, [DefaultValue("0.0F")] float t)
 
static void DestroyImmediate (Object obj, [DefaultValue("false")] bool allowDestroyingAssets)
 
static Object[] FindObjectsOfType (Type type, bool includeInactive)
 
static void DontDestroyOnLoad ([NotNull("NullExceptionObject")] Object target)
 
override string ToString ()
 
bool IsDestroyed ()
 

Static Public Member Functions

static void print (object message)
 
static implicit operator bool (Object exists)
 
static Object Instantiate (Object original, Vector3 position, Quaternion rotation)
 
static Object Instantiate (Object original)
 
static T Instantiate< T > (T original)
 
static T Instantiate< T > (T original, Vector3 position, Quaternion rotation)
 
static void Destroy (Object obj)
 
static void DestroyImmediate (Object obj)
 
static T[] FindObjectsOfType< T > ()
 
static bool operator== (Object x, Object y)
 
static bool operator!= (Object x, Object y)
 

Protected Member Functions

 ScrollRect ()
 
override void OnEnable ()
 
override void OnDisable ()
 
virtual void SetContentAnchoredPosition (Vector2 position)
 
virtual void LateUpdate ()
 
void UpdatePrevData ()
 
virtual void SetNormalizedPosition (float value, int axis)
 
override void OnRectTransformDimensionsChange ()
 
void UpdateBounds ()
 
void SetDirty ()
 
void SetDirtyCaching ()
 
virtual void Awake ()
 
virtual void Start ()
 
virtual void OnDestroy ()
 
virtual void OnBeforeTransformParentChanged ()
 
virtual void OnTransformParentChanged ()
 
virtual void OnDidApplyAnimationProperties ()
 
virtual void OnCanvasGroupChanged ()
 
virtual void OnCanvasHierarchyChanged ()
 

Protected Attributes

Vector2 m_ContentStartPosition
 
Bounds m_ContentBounds
 

Package Functions

string GetScriptClassName ()
 
void GetComponentFastPath (Type type, IntPtr oneFurtherThanResultValue)
 
static Object FindObjectFromInstanceID (int instanceID)
 

Static Package Functions

static void AdjustBounds (ref Bounds viewBounds, ref Vector2 contentPivot, ref Vector3 contentSize, ref Vector3 contentPos)
 
static Bounds InternalGetBounds (Vector3[] corners, ref Matrix4x4 viewWorldToLocalMatrix)
 
static Vector2 InternalCalculateOffset (ref Bounds viewBounds, ref Bounds contentBounds, bool horizontal, bool vertical, ScrollRect.MovementType movementType, ref Vector2 delta)
 

Static Package Attributes

static int OffsetOfInstanceIDInCPlusPlusObject
 

Properties

RectTransform content [get, set]
 
bool horizontal [get, set]
 
bool vertical [get, set]
 
ScrollRect.MovementType movementType [get, set]
 
float elasticity [get, set]
 
bool inertia [get, set]
 
float decelerationRate [get, set]
 
float scrollSensitivity [get, set]
 
RectTransform viewport [get, set]
 
Scrollbar horizontalScrollbar [get, set]
 
Scrollbar verticalScrollbar [get, set]
 
ScrollRect.ScrollbarVisibility horizontalScrollbarVisibility [get, set]
 
ScrollRect.ScrollbarVisibility verticalScrollbarVisibility [get, set]
 
float horizontalScrollbarSpacing [get, set]
 
float verticalScrollbarSpacing [get, set]
 
ScrollRect.ScrollRectEvent onValueChanged [get, set]
 
RectTransform viewRect [get, set]
 
Vector2 velocity [get, set]
 
RectTransform rectTransform [get, set]
 
Vector2 normalizedPosition [get, set]
 
float horizontalNormalizedPosition [get, set]
 
float verticalNormalizedPosition [get, set]
 
bool hScrollingNeeded [get, set]
 
bool vScrollingNeeded [get, set]
 
virtual float minWidth [get, set]
 
virtual float preferredWidth [get, set]
 
virtual float flexibleWidth [get, set]
 
virtual float minHeight [get, set]
 
virtual float preferredHeight [get, set]
 
virtual float flexibleHeight [get, set]
 
virtual int layoutPriority [get, set]
 
bool useGUILayout [get, set]
 
bool enabled [get, set]
 
bool isActiveAndEnabled [get, set]
 
Transform transform [get, set]
 
GameObject gameObject [get, set]
 
string name [get, set]
 
HideFlags hideFlags [set]
 
Transform transform [get]
 

Private Member Functions

void UpdateCachedData ()
 
void EnsureLayoutHasRebuilt ()
 
void UpdateScrollbars (Vector2 offset)
 
void SetHorizontalNormalizedPosition (float value)
 
void SetVerticalNormalizedPosition (float value)
 
void UpdateScrollbarVisibility ()
 
void UpdateScrollbarLayout ()
 
Bounds GetBounds ()
 
Vector2 CalculateOffset (Vector2 delta)
 
Transform UnityEngine.UI.ICanvasElement. get_transform ()
 
static bool IsInvoking ([NotNull("NullExceptionObject")] MonoBehaviour self, string methodName)
 
static void CancelInvoke ([NotNull("NullExceptionObject")] MonoBehaviour self, string methodName)
 
static void Internal_CancelInvokeAll ([NotNull("NullExceptionObject")] MonoBehaviour self)
 
static bool Internal_IsInvokingAll ([NotNull("NullExceptionObject")] MonoBehaviour self)
 
static void InvokeDelayed ([NotNull("NullExceptionObject")] MonoBehaviour self, string methodName, float time, float repeatRate)
 
static bool IsObjectMonoBehaviour ([NotNull("NullExceptionObject")] Object obj)
 
Coroutine StartCoroutineManaged (string methodName, object value)
 
Coroutine StartCoroutineManaged2 (IEnumerator enumerator)
 
void StopCoroutineManaged (Coroutine routine)
 
void StopCoroutineFromEnumeratorManaged (IEnumerator routine)
 
void GetComponentsForListInternal (Type searchType, object resultList)
 
IntPtr GetCachedPtr ()
 
static string ToString (Object obj)
 
static int GetOffsetOfInstanceIDInCPlusPlusObject ()
 
static Object Internal_CloneSingle ([NotNull("NullExceptionObject")] Object data)
 
static string GetName ([NotNull("NullExceptionObject")] Object obj)
 
static void SetName ([NotNull("NullExceptionObject")] Object obj, string name)
 
static Object Internal_InstantiateSingle_Injected (Object data, ref Vector3 pos, ref Quaternion rot)
 

Static Private Member Functions

static float RubberDelta (float overStretching, float viewSize)
 
static void UpdateOneScrollbarVisibility (bool xScrollingNeeded, bool xAxisEnabled, ScrollRect.ScrollbarVisibility scrollbarVisibility, Scrollbar scrollbar)
 
static bool CompareBaseObjects (Object lhs, Object rhs)
 
static bool IsNativeObjectAlive (Object o)
 
static void CheckNullArgument (object arg, string message)
 
static Object Internal_InstantiateSingle ([NotNull("NullExceptionObject")] Object data, Vector3 pos, Quaternion rot)
 

Private Attributes

RectTransform m_Content
 
bool m_Horizontal
 
bool m_Vertical
 
ScrollRect.MovementType m_MovementType
 
float m_Elasticity
 
bool m_Inertia
 
float m_DecelerationRate
 
float m_ScrollSensitivity
 
RectTransform m_Viewport
 
Scrollbar m_HorizontalScrollbar
 
Scrollbar m_VerticalScrollbar
 
ScrollRect.ScrollbarVisibility m_HorizontalScrollbarVisibility
 
ScrollRect.ScrollbarVisibility m_VerticalScrollbarVisibility
 
float m_HorizontalScrollbarSpacing
 
float m_VerticalScrollbarSpacing
 
ScrollRect.ScrollRectEvent m_OnValueChanged
 
Vector2 m_PointerStartLocalCursor
 
RectTransform m_ViewRect
 
Bounds m_ViewBounds
 
Vector2 m_Velocity
 
bool m_Dragging
 
bool m_Scrolling
 
Vector2 m_PrevPosition
 
Bounds m_PrevContentBounds
 
Bounds m_PrevViewBounds
 
bool m_HasRebuiltLayout
 
bool m_HSliderExpand
 
bool m_VSliderExpand
 
float m_HSliderHeight
 
float m_VSliderWidth
 
RectTransform m_Rect
 
RectTransform m_HorizontalScrollbarRect
 
RectTransform m_VerticalScrollbarRect
 
DrivenRectTransformTracker m_Tracker
 
readonly Vector3[] m_Corners
 
IntPtr m_CachedPtr
 

Static Private Attributes

const string objectIsNullMessage = "The Object you want to instantiate is null."
 
const string cloneDestroyedMessage = "Instantiate failed because the clone was destroyed during creation. This can happen if DestroyImmediate is called in MonoBehaviour.Awake."
 

Detailed Description

Definition at line 15 of file ScrollRect.cs.


The documentation for this class was generated from the following file: