+ /// 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.
+ ///
+ public class PointAttachment : Attachment {
+ internal float x, y, rotation;
+ public float X { get { return x; } set { x = value; } }
+ public float Y { get { return y; } set { y = value; } }
+ public float Rotation { get { return rotation; } set { rotation = value; } }
+
+ public PointAttachment (string name)
+ : base(name) {
+ }
+
+ ///