ScalarKeyFrameAnimation.InsertKeyFrame Metode

Definisi

Overload

InsertKeyFrame(Single, Single)

Menyisipkan bingkai kunci.

InsertKeyFrame(Single, Single, CompositionEasingFunction)

Menyisipkan keyframe.

InsertKeyFrame(Single, Single)

Menyisipkan bingkai kunci.

public:
 virtual void InsertKeyFrame(float normalizedProgressKey, float value) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
void InsertKeyFrame(float const& normalizedProgressKey, float const& value);
[Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
public void InsertKeyFrame(float normalizedProgressKey, float value);
function insertKeyFrame(normalizedProgressKey, value)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, value As Single)

Parameter

normalizedProgressKey
Single

float

Waktu bingkai kunci harus terjadi, dinyatakan sebagai persentase durasi animasi. Nilai yang diizinkan adalah dari 0,0 hingga 1,0.

value
Single

float

Nilai bingkai kunci.

Atribut

Lihat juga

Berlaku untuk

InsertKeyFrame(Single, Single, CompositionEasingFunction)

Menyisipkan keyframe.

public:
 virtual void InsertKeyFrame(float normalizedProgressKey, float value, CompositionEasingFunction ^ easingFunction) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
void InsertKeyFrame(float const& normalizedProgressKey, float const& value, CompositionEasingFunction const& easingFunction);
[Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
public void InsertKeyFrame(float normalizedProgressKey, float value, CompositionEasingFunction easingFunction);
function insertKeyFrame(normalizedProgressKey, value, easingFunction)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, value As Single, easingFunction As CompositionEasingFunction)

Parameter

normalizedProgressKey
Single

float

Waktu bingkai kunci harus terjadi, dinyatakan sebagai persentase durasi animasi. Nilai yang diizinkan adalah dari 0,0 hingga 1,0.

value
Single

float

Nilai bingkai kunci.

easingFunction
CompositionEasingFunction

Fungsi kemudahan yang digunakan untuk menginterpolasi di antara bingkai kunci.

Atribut

Lihat juga

Berlaku untuk