C# Класс exUIScrollView, ex2d-v1

Наследование: exUIElement
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
bounce float
bounceBackDuration float
clipRect exClipping,
contentAnchor Transform
deceleration float
horizontalBar exSpriteBorder,
horizontalSlider exSpriteBorder,
scrollDirection ScrollDirection
showSliderOnDragging bool
verticalBar exSpriteBorder,
verticalSlider exSpriteBorder,

Защищенные свойства (Protected)

Свойство Тип Описание
contentHeight float
contentOffset Vector2
contentWidth float
destX float
destY float
flickingStop float
flickingX bool
flickingY bool
isDragging bool
isPressing bool
maxX float
maxY float
minX float
minY float
pressPoint Vector2
pressTime float
scrollingToX bool
scrollingToY bool
srcX float
srcY float
timerX float
timerY float
velocity Vector2

Открытые методы

Метод Описание
AddElement ( exUIElement, _el ) : void
Clear ( ) : void
MoveTo ( Vector2 _destOffset, float _duration ) : void
OnEvent ( exUIEvent, _e ) : bool
SetOffset ( Vector2 _offset ) : void
UpdateChildPosition ( ) : void
UpdateClipList ( ) : void
UpdateLayout ( ) : void
easing ( float _t ) : float

Защищенные методы

Метод Описание
FadeTo ( FadeToParams _params ) : IEnumerator
FadeToHorizontal ( FadeToParams _params ) : IEnumerator
FadeToVertical ( FadeToParams _params ) : IEnumerator
GetContentHeight ( ) : float
GetContentWidth ( ) : float
MoveTo_CO ( MoveToParams, _params ) : IEnumerator
OnSizeChanged ( float _newWidth, float _newHeight ) : void
Start ( ) : void
Update ( ) : void

Описание методов

AddElement() публичный Метод

public AddElement ( exUIElement, _el ) : void
_el exUIElement,
Результат void

Clear() публичный Метод

public Clear ( ) : void
Результат void

FadeTo() защищенный Метод

protected FadeTo ( FadeToParams _params ) : IEnumerator
_params FadeToParams
Результат IEnumerator

FadeToHorizontal() защищенный Метод

protected FadeToHorizontal ( FadeToParams _params ) : IEnumerator
_params FadeToParams
Результат IEnumerator

FadeToVertical() защищенный Метод

protected FadeToVertical ( FadeToParams _params ) : IEnumerator
_params FadeToParams
Результат IEnumerator

GetContentHeight() защищенный Метод

protected GetContentHeight ( ) : float
Результат float

GetContentWidth() защищенный Метод

protected GetContentWidth ( ) : float
Результат float

MoveTo() публичный Метод

public MoveTo ( Vector2 _destOffset, float _duration ) : void
_destOffset Vector2
_duration float
Результат void

MoveTo_CO() защищенный Метод

protected MoveTo_CO ( MoveToParams, _params ) : IEnumerator
_params MoveToParams,
Результат IEnumerator

OnEvent() публичный Метод

public OnEvent ( exUIEvent, _e ) : bool
_e exUIEvent,
Результат bool

OnSizeChanged() защищенный Метод

protected OnSizeChanged ( float _newWidth, float _newHeight ) : void
_newWidth float
_newHeight float
Результат void

SetOffset() публичный Метод

public SetOffset ( Vector2 _offset ) : void
_offset Vector2
Результат void

Start() защищенный Метод

protected Start ( ) : void
Результат void

Update() защищенный Метод

protected Update ( ) : void
Результат void

UpdateChildPosition() публичный Метод

public UpdateChildPosition ( ) : void
Результат void

UpdateClipList() публичный Метод

public UpdateClipList ( ) : void
Результат void

UpdateLayout() публичный Метод

public UpdateLayout ( ) : void
Результат void

easing() публичный статический Метод

public static easing ( float _t ) : float
_t float
Результат float

Описание свойств

bounce публичное свойство

public float bounce
Результат float

bounceBackDuration публичное свойство

public float bounceBackDuration
Результат float

clipRect публичное свойство

public exClipping, clipRect
Результат exClipping,

contentAnchor публичное свойство

public Transform contentAnchor
Результат Transform

contentHeight защищенное свойство

protected float contentHeight
Результат float

contentOffset защищенное свойство

protected Vector2 contentOffset
Результат Vector2

contentWidth защищенное свойство

protected float contentWidth
Результат float

deceleration публичное свойство

public float deceleration
Результат float

destX защищенное свойство

protected float destX
Результат float

destY защищенное свойство

protected float destY
Результат float

flickingStop защищенное статическое свойство

protected static float flickingStop
Результат float

flickingX защищенное свойство

protected bool flickingX
Результат bool

flickingY защищенное свойство

protected bool flickingY
Результат bool

horizontalBar публичное свойство

public exSpriteBorder, horizontalBar
Результат exSpriteBorder,

horizontalSlider публичное свойство

public exSpriteBorder, horizontalSlider
Результат exSpriteBorder,

isDragging защищенное свойство

protected bool isDragging
Результат bool

isPressing защищенное свойство

protected bool isPressing
Результат bool

maxX защищенное свойство

protected float maxX
Результат float

maxY защищенное свойство

protected float maxY
Результат float

minX защищенное свойство

protected float minX
Результат float

minY защищенное свойство

protected float minY
Результат float

pressPoint защищенное свойство

protected Vector2 pressPoint
Результат Vector2

pressTime защищенное свойство

protected float pressTime
Результат float

scrollDirection публичное свойство

public ScrollDirection scrollDirection
Результат ScrollDirection

scrollingToX защищенное свойство

protected bool scrollingToX
Результат bool

scrollingToY защищенное свойство

protected bool scrollingToY
Результат bool

showSliderOnDragging публичное свойство

public bool showSliderOnDragging
Результат bool

srcX защищенное свойство

protected float srcX
Результат float

srcY защищенное свойство

protected float srcY
Результат float

timerX защищенное свойство

protected float timerX
Результат float

timerY защищенное свойство

protected float timerY
Результат float

velocity защищенное свойство

protected Vector2 velocity
Результат Vector2

verticalBar публичное свойство

public exSpriteBorder, verticalBar
Результат exSpriteBorder,

verticalSlider публичное свойство

public exSpriteBorder, verticalSlider
Результат exSpriteBorder,