Свойство | Type | Description | |
---|---|---|---|
ControlPoint | Vector2 | ||
EndAnchor | Vector2 | ||
Parallel | float | ||
StartAnchor | Vector2 |
Méthode | Description | |
---|---|---|
BezierCurveQuadric ( Vector2 startAnchor, Vector2 endAnchor, Vector2 controlPoint ) |
Constructs a new BezierCurveQuadric.
|
|
BezierCurveQuadric ( float parallel, Vector2 startAnchor, Vector2 endAnchor, Vector2 controlPoint ) |
Constructs a new BezierCurveQuadric.
|
|
CalculateLength ( float precision ) : float |
Calculates the length of this bezier curve. The precision gets better when the precision value gets smaller. |
|
CalculatePoint ( float t ) : Vector2 |
Calculates the point with the specified t.
|
Méthode | Description | |
---|---|---|
CalculatePointOfDerivative ( float t ) : Vector2 |
Calculates the point with the specified t of the derivative of this function.
|
public BezierCurveQuadric ( Vector2 startAnchor, Vector2 endAnchor, Vector2 controlPoint ) | ||
startAnchor | Vector2 | The start anchor. |
endAnchor | Vector2 | The end anchor. |
controlPoint | Vector2 | The control point. |
public BezierCurveQuadric ( float parallel, Vector2 startAnchor, Vector2 endAnchor, Vector2 controlPoint ) | ||
parallel | float | The parallel value. |
startAnchor | Vector2 | The start anchor. |
endAnchor | Vector2 | The end anchor. |
controlPoint | Vector2 | The control point. |
public CalculateLength ( float precision ) : float | ||
precision | float | The precision. |
Résultat | float |
public CalculatePoint ( float t ) : Vector2 | ||
t | float | The t value, between 0.0f and 1.0f. |
Résultat | Vector2 |