CompositionAnimation.SetScalarParameter(String, Single) Method

Definition

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

public:
 virtual void SetScalarParameter(Platform::String ^ key, float value) = SetScalarParameter;
void SetScalarParameter(winrt::hstring const & key, float value);
public void SetScalarParameter(string key, float value);
Public Sub SetScalarParameter (key As String, value As Single)

Parameters

key
String

The name of the parameter to set.

value
Single

The Single value.

Applies to