Dela via


Compositor.CreateCubicBezierEasingFunction(Vector2, Vector2) Method

Definition

Creates an instance of 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

Parameters

controlPoint1
Vector2 Vector2

float2

The first control point for the easing function.

controlPoint2
Vector2 Vector2

float2

The second control point for the easing function.

Returns

The created CubicBezierEasingFunction object.

Applies to