Delen via


CompositionAnimation.SetQuaternionParameter(String, Quaternion) Method

Definition

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

public:
 virtual void SetQuaternionParameter(Platform::String ^ key, quaternion value) = SetQuaternionParameter;
void SetQuaternionParameter(winrt::hstring const& key, quaternion const& value);
public void SetQuaternionParameter(string key, Quaternion value);
function setQuaternionParameter(key, value)
Public Sub SetQuaternionParameter (key As String, value As Quaternion)

Parameters

key
String

Platform::String

winrt::hstring

The name of the parameter to set.

value
Quaternion Quaternion

quaternion

The quaternion value.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to