Share via


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 const& value);
public void SetScalarParameter(string key, float value);
function setScalarParameter(key, value)
Public Sub SetScalarParameter (key As String, value As Single)

Parameters

key
String

Platform::String

winrt::hstring

The name of the parameter to set.

value
Single

float

The Single value.

Applies to