Свойство | Тип | Описание | |
---|---|---|---|
EndAnchor | System.Vector2 | ||
FirstControlPoint | System.Vector2 | ||
Parallel | float | ||
SecondControlPoint | System.Vector2 | ||
StartAnchor | System.Vector2 |
Метод | Описание | |
---|---|---|
BezierCurveCubic ( System.Vector2 startAnchor, System.Vector2 endAnchor, System.Vector2 firstControlPoint, System.Vector2 secondControlPoint ) : System |
Constructs a new BezierCurveCubic.
|
|
BezierCurveCubic ( float parallel, System.Vector2 startAnchor, System.Vector2 endAnchor, System.Vector2 firstControlPoint, System.Vector2 secondControlPoint ) : System |
Constructs a new BezierCurveCubic.
|
|
CalculateLength ( float precision ) : float |
Calculates the length of this bezier curve. The precision gets better when the precision value gets smaller. |
|
CalculatePoint ( float t ) : System.Vector2 |
Calculates the point with the specified t.
|
Метод | Описание | |
---|---|---|
CalculatePointOfDerivative ( float t ) : System.Vector2 |
Calculates the point with the specified t of the derivative of this function.
|
public BezierCurveCubic ( System.Vector2 startAnchor, System.Vector2 endAnchor, System.Vector2 firstControlPoint, System.Vector2 secondControlPoint ) : System | ||
startAnchor | System.Vector2 | The start anchor point. |
endAnchor | System.Vector2 | The end anchor point. |
firstControlPoint | System.Vector2 | The first control point. |
secondControlPoint | System.Vector2 | The second control point. |
Результат | System |
public BezierCurveCubic ( float parallel, System.Vector2 startAnchor, System.Vector2 endAnchor, System.Vector2 firstControlPoint, System.Vector2 secondControlPoint ) : System | ||
parallel | float | The parallel value. |
startAnchor | System.Vector2 | The start anchor point. |
endAnchor | System.Vector2 | The end anchor point. |
firstControlPoint | System.Vector2 | The first control point. |
secondControlPoint | System.Vector2 | The second control point. |
Результат | System |
public CalculateLength ( float precision ) : float | ||
precision | float | The precision. |
Результат | float |
public CalculatePoint ( float t ) : System.Vector2 | ||
t | float | The t value, between 0.0f and 1.0f. |
Результат | System.Vector2 |
public Vector2,System FirstControlPoint | ||
Результат | System.Vector2 |
public Vector2,System SecondControlPoint | ||
Результат | System.Vector2 |