Dela via


Timeline.SpeedRatio Property

Definition

Gets or sets the rate, relative to its parent, at which time progresses for this Timeline.

public:
 property double SpeedRatio { double get(); void set(double value); };
double SpeedRatio();

void SpeedRatio(double value);
public double SpeedRatio { get; set; }
var double = timeline.speedRatio;
timeline.speedRatio = double;
Public Property SpeedRatio As Double
<timeline SpeedRatio="double"/>

Property Value

Double

double

A finite value greater than 0 that specifies the rate at which time progresses for this timeline, relative to the speed of the timeline's parent. If this timeline is a root timeline, specifies the default timeline speed. The value is expressed as a factor where 1 represents normal speed, 2 is double speed, 0.5 is half speed, and so on. The default value is 1.

Applies to