「UnityCurveUtils」は 18 種類の曲線アルゴリズムを使用できるユーティリティです
- Unity 2018.3.0f2
「Example」フォルダ内に、各曲線アルゴリズムの使用例が格納されています
var point = UnityCurveUtils.B_SplineCurve( x1, y1, x2, y2, x3, y3, t );
var point = UnityCurveUtils.BezierCurve( x1, y1, x2, y2, x3, y3, x4, y4, t );
var point = UnityCurveUtils.HyperbolicSpiral( a, c theta );
var point = UnityCurveUtils.WitchOfAgnesi( a, theta );
var point = UnityCurveUtils.FoliumOfDescartes( a, theta );
var point = UnityCurveUtils.Ellipse( a, b, theta );
var point = UnityCurveUtils.Hyperbola( a, b, theta );
var point = UnityCurveUtils.InvoluteOfCircle( a, theta );
var point = UnityCurveUtils.Strophoid( a, theta );
var point = UnityCurveUtils.Conchoid( a, l, theta );
var point = UnityCurveUtils.Cissoid( a, theta );
var point = UnityCurveUtils.LissajousCurve( A, B, a, b, delta, theta );
var point = UnityCurveUtils.Trochoid( rm, theta, rd );
var point = UnityCurveUtils.Epitrocoid( rc, rm, theta, rd );
var point = UnityCurveUtils.Hypetrocoid( rc, rm, theta, rd );
var point = UnityCurveUtils.Cycloid( rm, theta );
var point = UnityCurveUtils.Epicycloid( rm, rd, theta );
var point = UnityCurveUtils.Hypocycloid( rm, rd, theta );