Dela via


Compositor.GlobalPlaybackRate Property

Definition

Gets or sets the rate at which animation plays for all KeyFrame animations created by this compositor.

public:
 property float GlobalPlaybackRate { float get(); void set(float value); };
float GlobalPlaybackRate();

void GlobalPlaybackRate(float value);
public float GlobalPlaybackRate { get; set; }
var single = compositor.globalPlaybackRate;
compositor.globalPlaybackRate = single;
Public Property GlobalPlaybackRate As Single

Property Value

Single

float

The rate at which animation plays for all animations created by this compositor.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

This property has an effect only on KeyFrameAnimations.

Applies to

See also