An attachment which is a single point and a rotation. This can be used to spawn projectiles, particles, etc. A bone can be used in similar ways, but a PointAttachment is slightly less expensive to compute and can be hidden, shown, and placed in a skin.

See Point Attachments in the Spine User Guide.

Constructor

new(name:String)

Variables

@:value(0)x:Float = 0

@:value(0)y:Float = 0

@:value(0)rotation:Float = 0

@:value(new Color(0.9451, 0.9451, 0, 1))color:Color = new Color(0.9451, 0.9451, 0, 1)

Methods

getColor():Color

The color of the point attachment as it was in Spine, or a default clor if nonessential data was not exported. Point attachments are not usually rendered at runtime.

Inherited Variables

Inherited Methods

Defined by Attachment

getName():String

The attachment's name.