GetTangent
GetTangent(Vector2, Vector2, Vector2, Vector2, float)
public static Vector2 GetTangent(Vector2 startPosition, Vector2 startControl, Vector2 endPosition, Vector2 endControl, float t) ;
説明
ベジェ曲線上の接線を求める。
パラメーター
| パラメーター名 | 説明 |
|---|---|
| startPosition | 始点 |
| startControl | 始点のコントロール点 |
| endPosition | 終点 |
| endControl | 終点のコントロール点 |
| t | 0から1の値 |
戻り値
ベジェ曲線上の接線を返す。