다음을 통해 공유


Vector2KeyFrameAnimation.InsertKeyFrame 메서드

정의

오버로드

InsertKeyFrame(Single, Vector2)

키 프레임을 삽입합니다.

InsertKeyFrame(Single, Vector2, CompositionEasingFunction)

지정된 감속/가속 함수를 사용하여 키 프레임을 삽입합니다.

InsertKeyFrame(Single, Vector2)

키 프레임을 삽입합니다.

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

매개 변수

normalizedProgressKey
Single

float

애니메이션 기간의 백분율로 표현되는 키 프레임이 발생하는 시간입니다. 허용되는 값은 0.0에서 1.0까지입니다.

value
Vector2 Vector2

float2

키 프레임의 값입니다.

특성

추가 정보

적용 대상

InsertKeyFrame(Single, Vector2, CompositionEasingFunction)

지정된 감속/가속 함수를 사용하여 키 프레임을 삽입합니다.

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

매개 변수

normalizedProgressKey
Single

float

애니메이션 기간의 백분율로 표현되는 키 프레임이 발생하는 시간입니다. 허용되는 값은 0.0에서 1.0까지입니다.

value
Vector2 Vector2

float2

키 프레임의 값입니다.

easingFunction
CompositionEasingFunction

프레임 간에 보간할 때 사용할 감속/가속 함수입니다.

특성

추가 정보

적용 대상