iWheelBeginSpinning Method

Starts spinning the specified cylinders in specified direction with specified speed for specified amount of time landing on the specified position.

Definition

Namespace: BeeMobile.iWheel
Assembly: BeeMobile.iWheel.NET48 (in BeeMobile.iWheel.NET48.dll) Version: 4.8.4.3
C#
public void BeginSpinning(
	List<SpinInfo> spinInfo
)

Parameters

spinInfo  ListSpinInfo
A List<SpinInfo> which represents a list of SpinInfo objects which specify the Cylinders', speed, direction and time of spinning and a landing position.

Remarks

Each SpinInfo object specifies the following information:

CylinderIndex - Index of a Cylinder that this object describes.

ScrollVelocity - The velocity at which the Cylinder should be spun.

SpinTime - The time in milliseconds to spin the Cylinder.

LandingPosition - An index of an item in the described Cylinder which it should stop at after it has finished spinning.

If the amount of SpinInfo objects in the list is higher than the amount of Cylinders in iWheel's CylinderCollection, a SpinInfoException is thrown.

See Also