An Array that contain control points. Used by CCCardinalSplineTo and (By) and CCCatmullRomTo (and By) actions.
Getting Started
Modding Tutorials
Geode Mods
Handbook
An Introduction to GD Modding (using Geode)
#include <Geode/cocos/actions/CCActionCatmullRom.h>
An Array that contain control points. Used by CCCardinalSplineTo and (By) and CCCatmullRomTo (and By) actions.
creates and initializes a Points array with capacity
appends a control point
inserts a controlPoint at index
replaces an existing controlPoint at index
get the value of a controlPoint at a given index
returns the number of objects of the control point array
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