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

用于创建缓动函数的 Compositor

mode
CompositionEasingFunctionMode

用于指定动画内插方式的枚举值之一。

exponent
Single

float

用于确定动画的内插的指数。

返回

返回创建的 ExponentialEasingFunction 对象。

Windows 要求

设备系列
Windows 10, version 2104 (在 10.0.20348.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v12.0 中引入)

适用于