CompositionAnimation.SetVector2Parameter(String, Vector2) Method

Definition

Sets a Vector2 value parameter for use with an ExpressionAnimation or an expression keyframe.

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)

Parameters

key
String

The name of the parameter to set.

value
Vector2 Vector2

float2

The Vector2 value.

Applies to