共用方式為


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

Easing 函式的第一個控制點。

controlPoint2
Vector2 Vector2

float2

Easing 函式的第二個控制點。

傳回

已建立 的 CubicBezierEasingFunction 物件。

適用於