프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ControlPoint | System.Vector2 | ||
EndAnchor | System.Vector2 | ||
Parallel | float | ||
StartAnchor | System.Vector2 |
메소드 | 설명 | |
---|---|---|
BezierCurveQuadric ( System.Vector2 startAnchor, System.Vector2 endAnchor, System.Vector2 controlPoint ) : System |
Constructs a new BezierCurveQuadric.
|
|
BezierCurveQuadric ( float parallel, System.Vector2 startAnchor, System.Vector2 endAnchor, System.Vector2 controlPoint ) : System |
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 ) : 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 BezierCurveQuadric ( System.Vector2 startAnchor, System.Vector2 endAnchor, System.Vector2 controlPoint ) : System | ||
startAnchor | System.Vector2 | The start anchor. |
endAnchor | System.Vector2 | The end anchor. |
controlPoint | System.Vector2 | The control point. |
리턴 | System |
public BezierCurveQuadric ( float parallel, System.Vector2 startAnchor, System.Vector2 endAnchor, System.Vector2 controlPoint ) : System | ||
parallel | float | The parallel value. |
startAnchor | System.Vector2 | The start anchor. |
endAnchor | System.Vector2 | The end anchor. |
controlPoint | System.Vector2 | The 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 |