C# Class exUIScrollView, ex2d-v1

Inheritance: exUIElement
Datei anzeigen Open project: exdev/ex2d-v1 Class Usage Examples

Public Properties

Property Type Description
bounce float
bounceBackDuration float
clipRect exClipping,
contentAnchor Transform
deceleration float
horizontalBar exSpriteBorder,
horizontalSlider exSpriteBorder,
scrollDirection ScrollDirection
showSliderOnDragging bool
verticalBar exSpriteBorder,
verticalSlider exSpriteBorder,

Protected Properties

Property Type Description
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

Public Methods

Method Description
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

Protected Methods

Method Description
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

Method Details

AddElement() public method

public AddElement ( exUIElement, _el ) : void
_el exUIElement,
return void

Clear() public method

public Clear ( ) : void
return void

FadeTo() protected method

protected FadeTo ( FadeToParams _params ) : IEnumerator
_params FadeToParams
return IEnumerator

FadeToHorizontal() protected method

protected FadeToHorizontal ( FadeToParams _params ) : IEnumerator
_params FadeToParams
return IEnumerator

FadeToVertical() protected method

protected FadeToVertical ( FadeToParams _params ) : IEnumerator
_params FadeToParams
return IEnumerator

GetContentHeight() protected method

protected GetContentHeight ( ) : float
return float

GetContentWidth() protected method

protected GetContentWidth ( ) : float
return float

MoveTo() public method

public MoveTo ( Vector2 _destOffset, float _duration ) : void
_destOffset Vector2
_duration float
return void

MoveTo_CO() protected method

protected MoveTo_CO ( MoveToParams, _params ) : IEnumerator
_params MoveToParams,
return IEnumerator

OnEvent() public method

public OnEvent ( exUIEvent, _e ) : bool
_e exUIEvent,
return bool

OnSizeChanged() protected method

protected OnSizeChanged ( float _newWidth, float _newHeight ) : void
_newWidth float
_newHeight float
return void

SetOffset() public method

public SetOffset ( Vector2 _offset ) : void
_offset Vector2
return void

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

UpdateChildPosition() public method

public UpdateChildPosition ( ) : void
return void

UpdateClipList() public method

public UpdateClipList ( ) : void
return void

UpdateLayout() public method

public UpdateLayout ( ) : void
return void

easing() public static method

public static easing ( float _t ) : float
_t float
return float

Property Details

bounce public_oe property

public float bounce
return float

bounceBackDuration public_oe property

public float bounceBackDuration
return float

clipRect public_oe property

public exClipping, clipRect
return exClipping,

contentAnchor public_oe property

public Transform contentAnchor
return Transform

contentHeight protected_oe property

protected float contentHeight
return float

contentOffset protected_oe property

protected Vector2 contentOffset
return Vector2

contentWidth protected_oe property

protected float contentWidth
return float

deceleration public_oe property

public float deceleration
return float

destX protected_oe property

protected float destX
return float

destY protected_oe property

protected float destY
return float

flickingStop protected_oe static_oe property

protected static float flickingStop
return float

flickingX protected_oe property

protected bool flickingX
return bool

flickingY protected_oe property

protected bool flickingY
return bool

horizontalBar public_oe property

public exSpriteBorder, horizontalBar
return exSpriteBorder,

horizontalSlider public_oe property

public exSpriteBorder, horizontalSlider
return exSpriteBorder,

isDragging protected_oe property

protected bool isDragging
return bool

isPressing protected_oe property

protected bool isPressing
return bool

maxX protected_oe property

protected float maxX
return float

maxY protected_oe property

protected float maxY
return float

minX protected_oe property

protected float minX
return float

minY protected_oe property

protected float minY
return float

pressPoint protected_oe property

protected Vector2 pressPoint
return Vector2

pressTime protected_oe property

protected float pressTime
return float

scrollDirection public_oe property

public ScrollDirection scrollDirection
return ScrollDirection

scrollingToX protected_oe property

protected bool scrollingToX
return bool

scrollingToY protected_oe property

protected bool scrollingToY
return bool

showSliderOnDragging public_oe property

public bool showSliderOnDragging
return bool

srcX protected_oe property

protected float srcX
return float

srcY protected_oe property

protected float srcY
return float

timerX protected_oe property

protected float timerX
return float

timerY protected_oe property

protected float timerY
return float

velocity protected_oe property

protected Vector2 velocity
return Vector2

verticalBar public_oe property

public exSpriteBorder, verticalBar
return exSpriteBorder,

verticalSlider public_oe property

public exSpriteBorder, verticalSlider
return exSpriteBorder,