FAScrollSnapItem Class

Represents animatable item in the FAScrollSnapBehaviour.

Uses Blend Trees for the scrolling animation.

Simple blend trees with 2 motions and one float paramater.

The motion at value 1 should be when the item is selected.

The motion at value 0 should be when the item is not selected.

public class FAScrollSnapItem
This language is not supported or no code example is available.
Methods
 
Name Description
Public method OnScrollHandler(Vector2) Handler for the FAScrollSnapBehaviour.onScrolled event, that is responsible for animating this instance.
Public method SetSelected()
Public method Setup(FAScrollSnapItemSettings)
Top
Fields
 
Name Description
Public field hasAnimations Gets or sets whether this instance has scrolling animations
Top

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition