Compositor.CreateCubicBezierEasingFunction(Vector2, Vector2) 方法

定义

创建 CubicBezierEasingFunction 的实例。

public:
 virtual CubicBezierEasingFunction ^ CreateCubicBezierEasingFunction(float2 controlPoint1, float2 controlPoint2) = CreateCubicBezierEasingFunction;
CubicBezierEasingFunction CreateCubicBezierEasingFunction(float2 const& controlPoint1, float2 const& controlPoint2);
public CubicBezierEasingFunction CreateCubicBezierEasingFunction(Vector2 controlPoint1, Vector2 controlPoint2);
function createCubicBezierEasingFunction(controlPoint1, controlPoint2)
Public Function CreateCubicBezierEasingFunction (controlPoint1 As Vector2, controlPoint2 As Vector2) As CubicBezierEasingFunction

参数

controlPoint1
Vector2 Vector2

float2

缓动函数的第一个控制点。

controlPoint2
Vector2 Vector2

float2

缓动函数的第二个控制点。

返回

创建的 CubicBezierEasingFunction 对象。

适用于