語言

CompositionAnimation.SetVector4Parameter(String, Vector4) 方法

定義

設定一個 Vector4 值參數,用於 ExpressionAnimation 或 Expression 關鍵影格。

public:
 virtual void SetVector4Parameter(Platform::String ^ key, float4 value) = SetVector4Parameter;
void SetVector4Parameter(winrt::hstring const& key, float4 const& value);
public void SetVector4Parameter(string key, Vector4 value);
function setVector4Parameter(key, value)
Public Sub SetVector4Parameter (key As String, value As Vector4)

參數

key
String

Platform::String

winrt::hstring

參數的名稱。

value
Vector4 Vector4

float4

Vector4 值。

適用於