CompositionEasingFunction.CreatePowerEasingFunction 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 PowerEasingFunction的實例。
public:
static PowerEasingFunction ^ CreatePowerEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, float power);
static PowerEasingFunction CreatePowerEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, float const& power);
public static PowerEasingFunction CreatePowerEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, float power);
function createPowerEasingFunction(owner, mode, power)
Public Shared Function CreatePowerEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, power As Single) As PowerEasingFunction
參數
- owner
- Compositor
用來建立 Easing 函式的 Compositor 。
一個列舉值,這個值會指定動畫如何進行插補。
- power
-
Single
float
動畫插補的指數乘冪。 這個值必須大於或等於 0。
傳回
會傳回已建立的 PowerEasingFunction 物件。
Windows 需求
裝置系列 |
Windows 10, version 2104 (已於 10.0.20348.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v12.0 引進)
|