CompositionEasingFunction.CreatePowerEasingFunction 方法

定义

创建 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

用于创建缓动函数的合成器。

mode
CompositionEasingFunctionMode

一个 值,该值指定动画的内插方式。

power
Single

float

动画内插的指数幂。

返回

创建的 PowerEasingFunction 对象。

适用于

另请参阅