共用方式為


CompositionEasingFunction.CreateExponentialEasingFunction 方法

定義

建立 ExponentialEasingFunction的實例。

public:
 static ExponentialEasingFunction ^ CreateExponentialEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, float exponent);
 static ExponentialEasingFunction CreateExponentialEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, float const& exponent);
public static ExponentialEasingFunction CreateExponentialEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, float exponent);
function createExponentialEasingFunction(owner, mode, exponent)
Public Shared Function CreateExponentialEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, exponent As Single) As ExponentialEasingFunction

參數

owner
Compositor

用來建立 Easing 函式的 Compositor

mode
CompositionEasingFunctionMode

一個列舉值,這個值會指定動畫如何進行插補。

exponent
Single

float

用於決定動畫插補的指數。

傳回

會傳回建立的 ExponentialEasingFunction 物件。

Windows 需求

裝置系列
Windows 10, version 2104 (已於 10.0.20348.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v12.0 引進)

適用於