Skip to main content

CCSplineMath

CCSplineMath

Cocos2D

Inheritance: System.Object

Methods

CCCardinalSplineAt(CCPoint, CCPoint, CCPoint, CCPoint, float, float)

Cocos2D.CCPoint CCCardinalSplineAt(CCPoint, CCPoint, CCPoint, CCPoint, float, float)(Cocos2D.CCPoint p0, Cocos2D.CCPoint p1, Cocos2D.CCPoint p2, Cocos2D.CCPoint p3, System.Single tension, System.Single t)
Parameters:
p0 (Cocos2D.CCPoint)
p1 (Cocos2D.CCPoint)
p2 (Cocos2D.CCPoint)
p3 (Cocos2D.CCPoint)
tension (System.Single)
t (System.Single)
Returns:
Cocos2D.CCPoint

CubicBezier(float, float, float, float, float)

System.Single CubicBezier(float, float, float, float, float)(System.Single a, System.Single b, System.Single c, System.Single d, System.Single t)
Parameters:
a (System.Single)
b (System.Single)
c (System.Single)
d (System.Single)
t (System.Single)
Returns:
System.Single

QuadBezier(float, float, float, float)

System.Single QuadBezier(float, float, float, float)(System.Single a, System.Single b, System.Single c, System.Single t)
Parameters:
a (System.Single)
b (System.Single)
c (System.Single)
t (System.Single)
Returns:
System.Single