BoundingBoxAttachment

AttachmentVertexAttachmentspine.attachments.BoundingBoxAttachment (Class)

An attachment with vertices that make up a polygon. Can be used for hit detection, creating physics bodies, spawning particle effects, and more.

See {@link SkeletonBounds} and Bounding Boxes in the Spine User Guide.

Instance Members


The color of the bounding box as it was in Spine, or a default color if nonessential data was not exported. Bounding boxes are not usually rendered at runtime.

Returns
spine.support.graphics.Color

spine
copy(): Attachment
Returns
Attachment

spine
new(name: String): Void
Name Type
name String