PlayableExtensions.SetDuration

Declaration

public static void SetDuration(U playable, double value);

Parameters

playable The Playable used by this operation.
value The new duration in seconds, must be a positive value.

Description

Changes the duration of the Playable.

Use this templated extension method on any type that inherits from IPlayable.


Did you find this page useful? Please give it a rating: