SpriteManager2 winding class

Hi, does anyone have any experience using the winding class of SpriteManager2? The ABSoft forum is down and I’m having trouble figuring out the proper syntax in UnityScript.

Here’s what the docs say:

enum SpriteRoot::WINDING_ORDER
Defines which way the polygons of a sprite should be wound. The two options are clock-wise (CW) and counter clock-wise (CCW). These determine the direction the sprite will “face”.

WINDING_ORDER SpriteRoot.winding = WINDING_ORDER.CW
The winding order of the sprite’s polygons - determines the direction the sprite will “face”.

Thanks in advance and let me know if I need to clarify anything.

Just in case anyone else is looking for this. Here is what I figured out:

var gameSprite : PackedSprite;
var SpriteRoot : SpriteRoot;
gameSprite.SetWindingOrder( SpriteRoot.winding.CCW );,

Just in case anyone else need help, this is what I figured out:

var gameSprite : PackedSprite;
var SpriteRoot : SpriteRoot;
gameSprite.SetWindingOrder( SpriteRoot.winding.CCW );