Gets the number of sides for this shape
the sides count
Clears ribbon state when particle is destroyed, so it gets properly recreated when recycled from the pool. Without this, a recycled particle would keep stale ribbonPoints[] positions (from when it was destroyed far off-screen), causing isInsideCanvas to immediately flag it as outside again.
Ribbon shape drawer plugin