An Array that contain control points.
More...
#include <CCActionCatmullRom.h>
An Array that contain control points.
Used by CCCardinalSplineTo and (By) and CCCatmullRomTo (and By) actions.
void addControlPoint |
( |
CCPoint |
controlPoint) | |
|
local addControlPoint |
( |
local |
controlPoint) | |
|
returns the number of objects of the control point array
returns the number of objects of the control point array
creates and initializes a Points array with capacity
CCPoint getControlPointAtIndex |
( |
unsigned int |
index) | |
|
get the value of a controlPoint at a given index
local getControlPointAtIndex |
( |
local |
index) | |
|
get the value of a controlPoint at a given index
const std::vector<CCPoint*>
* getControlPoints |
( |
) | |
|
local getControlPoints |
( |
) | |
|
bool initWithCapacity |
( |
unsigned int |
capacity) | |
|
initializes a Catmull Rom config with a capacity hint
local initWithCapacity |
( |
local |
capacity) | |
|
initializes a Catmull Rom config with a capacity hint
void insertControlPoint |
( |
CCPoint & |
controlPoint, |
|
|
unsigned int |
index |
|
) |
| |
inserts a controlPoint at index
local insertControlPoint |
( |
local |
controlPoint, |
|
|
local |
index |
|
) |
| |
inserts a controlPoint at index
void removeControlPointAtIndex |
( |
unsigned int |
index) | |
|
deletes a control point at a given index
local removeControlPointAtIndex |
( |
local |
index) | |
|
deletes a control point at a given index
void replaceControlPoint |
( |
CCPoint & |
controlPoint, |
|
|
unsigned int |
index |
|
) |
| |
replaces an existing controlPoint at index
local replaceControlPoint |
( |
local |
controlPoint, |
|
|
local |
index |
|
) |
| |
replaces an existing controlPoint at index
returns a new copy of the array reversed.
User is responsible for releasing this copy
returns a new copy of the array reversed.
User is responsible for releasing this copy
reverse the current control point array inline, without generating a new one
reverse the current control point array inline, without generating a new one
void setControlPoints |
( |
std::vector< CCPoint * > * |
controlPoints) | |
|
local setControlPoints |
( |
local |
controlPoints) | |
|
The documentation for this class was generated from the following file: