設定旋轉色調的角度。
語法
HRESULT SetAngle(
[in] IDCompositionAnimation *animation
);
參數
[in] animation
動畫,表示角度值隨著時間變化的方式。 效果會根據旋轉角度計算色彩矩陣, (θ) 根據下列矩陣方程式:
此參數不得為 NULL。
傳回值
類型: HRESULT
如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。
規格需求
| 需求 | 值 |
|---|---|
| 目標平台 | Windows |
| 標頭 | dcomp.h |
| 程式庫 | Dcomp.lib |
| Dll | Dcomp.dll |