CompositionAnimation.SetVector2Parameter(String, Vector2) Метод

Определение

Задает параметр значения Vector2 для использования с ExpressionAnimation или ключевым кадром выражения.

public:
 virtual void SetVector2Parameter(Platform::String ^ key, float2 value) = SetVector2Parameter;
void SetVector2Parameter(winrt::hstring const& key, float2 const& value);
public void SetVector2Parameter(string key, Vector2 value);
function setVector2Parameter(key, value)
Public Sub SetVector2Parameter (key As String, value As Vector2)

Параметры

key
String

Platform::String

winrt::hstring

Имя параметра для задания.

value
Vector2 Vector2

float2

Значение Vector2 .

Применяется к