Battle Talent  V11
Public Member Functions | Properties | List of all members
CrossLink.Bezier Class Reference

Generic Bezier class capable of calculating Linear, Quadratic, and Cubic curves. More...

Public Member Functions

 Bezier (int numberOfPoints)
 creates a new instance of the Bezier class clarifying the number of points on the curve. More...
 
Vector3[] GetLinearCurvePoints (Vector3 point0, Vector3 point1)
 
Vector3[] GetQuadraticCurvePoints (Vector3 point0, Vector3 point1, Vector3 point2)
 
Vector3[] GetCubicCurvePoints (Vector3 point0, Vector3 point1, Vector3 point2, Vector3 point3)
 

Properties

int NumberOfPoints [get, set]
 

Detailed Description

Generic Bezier class capable of calculating Linear, Quadratic, and Cubic curves.

Constructor & Destructor Documentation

◆ Bezier()

CrossLink.Bezier.Bezier ( int  numberOfPoints)

creates a new instance of the Bezier class clarifying the number of points on the curve.

Parameters
numberOfPoints