UI::​ScrollRect
EventSystems::​UIBehaviour
UI::​ScrollRect

class:/TYPE/UnityEngine.UI.ScrollRect//, can be loaded from an assetbundle using UI::ScrollRect::createfromassetbundle(bundlename,prefabname) /

Parent

EventSystems::UIBehaviour

Variables
content
UnityEngine.RectTransform content
decelerationrate
System.Single decelerationrate
elasticity
System.Single elasticity
flexibleheight
readonly System.Single flexibleheight
flexiblewidth
readonly System.Single flexiblewidth
horizontal
System.Boolean horizontal
horizontalnormalizedposition
System.Single horizontalnormalizedposition
horizontalscrollbar
UnityEngine.UI.Scrollbar horizontalscrollbar
horizontalscrollbarspacing
System.Single horizontalscrollbarspacing
horizontalscrollbarvisibility
UnityEngine.UI.ScrollRect.ScrollbarVisibility horizontalscrollbarvisibility
inertia
System.Boolean inertia
layoutpriority
readonly System.Int32 layoutpriority
minheight
readonly System.Single minheight
minwidth
readonly System.Single minwidth
movementtype
UnityEngine.UI.ScrollRect.MovementType movementtype
normalizedposition
UnityEngine.Vector2 normalizedposition
onvaluechanged
UnityEngine.UI.ScrollRect.ScrollRectEvent onvaluechanged
preferredheight
readonly System.Single preferredheight
preferredwidth
readonly System.Single preferredwidth
scrollsensitivity
System.Single scrollsensitivity
velocity
UnityEngine.Vector2 velocity
vertical
System.Boolean vertical
verticalnormalizedposition
System.Single verticalnormalizedposition
verticalscrollbar
UnityEngine.UI.Scrollbar verticalscrollbar
verticalscrollbarspacing
System.Single verticalscrollbarspacing
verticalscrollbarvisibility
UnityEngine.UI.ScrollRect.ScrollbarVisibility verticalscrollbarvisibility
viewport
UnityEngine.RectTransform viewport
Functions
calculatelayoutinputhorizontal
System.Void CalculateLayoutInputHorizontal()
Returns

System.Void

calculatelayoutinputvertical
System.Void CalculateLayoutInputVertical()
Returns

System.Void

graphicupdatecomplete
System.Void GraphicUpdateComplete()
Returns

System.Void

isactive
System.Boolean IsActive()
Returns

System.Boolean

layoutcomplete
System.Void LayoutComplete()
Returns

System.Void

onbegindrag
System.Void OnBeginDrag(
UnityEngine.EventSystems.PointerEventData eventData
)

UnityEngine.EventSystems.PointerEventData eventData-no documentation

Parameters

eventData -

Returns

System.Void

ondrag
System.Void OnDrag(
UnityEngine.EventSystems.PointerEventData eventData
)

UnityEngine.EventSystems.PointerEventData eventData-no documentation

Parameters

eventData -

Returns

System.Void

onenddrag
System.Void OnEndDrag(
UnityEngine.EventSystems.PointerEventData eventData
)

UnityEngine.EventSystems.PointerEventData eventData-no documentation

Parameters

eventData -

Returns

System.Void

oninitializepotentialdrag
System.Void OnInitializePotentialDrag(
UnityEngine.EventSystems.PointerEventData eventData
)

UnityEngine.EventSystems.PointerEventData eventData-no documentation

Parameters

eventData -

Returns

System.Void

onscroll
System.Void OnScroll(
UnityEngine.EventSystems.PointerEventData data
)

UnityEngine.EventSystems.PointerEventData data-no documentation

Parameters

data -

Returns

System.Void

rebuild
System.Void Rebuild(
UnityEngine.UI.CanvasUpdate executing
)

UnityEngine.UI.CanvasUpdate executing-no documentation

Parameters

executing -

Returns

System.Void

setlayouthorizontal
System.Void SetLayoutHorizontal()
Returns

System.Void

setlayoutvertical
System.Void SetLayoutVertical()
Returns

System.Void

stopmovement
System.Void StopMovement()
Returns

System.Void

ui::​scrollrect::​fromassetbundle
static UnityEngine.UI.ScrollRect CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.UI.ScrollRect