Header menu logo Nu

SkeletonData Type

Stores the setup pose and all of the stateless data for a skeleton.

Constructors

Constructor Description

SkeletonData()

Full Usage: SkeletonData()

Instance members

Instance member Description

this.Animations

Full Usage: this.Animations

The skeleton's animations.

this.AudioPath

Full Usage: this.AudioPath

 The path to the audio directory as defined in Spine. Available only when nonessential data was exported.
            May be null.

this.Bones

Full Usage: this.Bones

Returns: ExposedList<BoneData>

The skeleton's bones, sorted parent first. The root bone is always the first bone.

Returns: ExposedList<BoneData>

this.DefaultSkin

Full Usage: this.DefaultSkin

The skeleton's default skin. By default this skin contains all attachments that were not in a skin in Spine.

this.Events

Full Usage: this.Events

The skeleton's events.

this.FindAnimation

Full Usage: this.FindAnimation

Parameters:
    animationName : string

Returns: Animation May be null.
animationName : string
Returns: Animation

May be null.

this.FindBone

Full Usage: this.FindBone

Parameters:
    boneName : string

Returns: BoneData May be null.

Finds a bone by comparing each bone's name. It is more efficient to cache the results of this method than to call it multiple times.

boneName : string
Returns: BoneData

May be null.

this.FindEvent

Full Usage: this.FindEvent

Parameters:
    eventDataName : string

Returns: EventData May be null.
eventDataName : string
Returns: EventData

May be null.

this.FindIkConstraint

Full Usage: this.FindIkConstraint

Parameters:
    constraintName : string

Returns: IkConstraintData May be null.
constraintName : string
Returns: IkConstraintData

May be null.

this.FindPathConstraint

Full Usage: this.FindPathConstraint

Parameters:
    constraintName : string

Returns: PathConstraintData May be null.

Finds a path constraint by comparing each path constraint's name. It is more efficient to cache the results of this method than to call it multiple times.

constraintName : string
Returns: PathConstraintData

May be null.

this.FindPhysicsConstraint

Full Usage: this.FindPhysicsConstraint

Parameters:
    constraintName : string

Returns: PhysicsConstraintData May be null.

Finds a physics constraint by comparing each physics constraint's name. It is more efficient to cache the results of this method than to call it multiple times.

constraintName : string
Returns: PhysicsConstraintData

May be null.

this.FindSkin

Full Usage: this.FindSkin

Parameters:
    skinName : string

Returns: Skin May be null.
skinName : string
Returns: Skin

May be null.

this.FindSlot

Full Usage: this.FindSlot

Parameters:
    slotName : string

Returns: SlotData May be null.
slotName : string
Returns: SlotData

May be null.

this.FindTransformConstraint

Full Usage: this.FindTransformConstraint

Parameters:
    constraintName : string

Returns: TransformConstraintData May be null.
constraintName : string
Returns: TransformConstraintData

May be null.

this.Fps

Full Usage: this.Fps

The dopesheet FPS in Spine, or zero if nonessential data was not exported.

this.Hash

Full Usage: this.Hash

The skeleton data hash. This value will change if any of the skeleton data has changed.
            May be null.

this.Height

Full Usage: this.Height

this.IkConstraints

Full Usage: this.IkConstraints

The skeleton's IK constraints.

this.ImagesPath

Full Usage: this.ImagesPath

this.Name

Full Usage: this.Name

The skeleton's name, which by default is the name of the skeleton data file when possible, or null when a name hasn't been
            set.

this.PathConstraints

Full Usage: this.PathConstraints

The skeleton's path constraints.

this.PhysicsConstraints

Full Usage: this.PhysicsConstraints

The skeleton's physics constraints.

this.ReferenceScale

Full Usage: this.ReferenceScale

 Baseline scale factor for applying distance-dependent effects on non-scalable properties, such as angle or scale. Default
            is 100.

this.Skins

Full Usage: this.Skins

All skins, including the default skin.

this.Slots

Full Usage: this.Slots

Returns: ExposedList<SlotData>

The skeleton's slots in the setup pose draw order.

Returns: ExposedList<SlotData>

this.ToString

Full Usage: this.ToString

Returns: string
Modifiers: abstract
Returns: string

this.TransformConstraints

Full Usage: this.TransformConstraints

The skeleton's transform constraints.

this.Version

Full Usage: this.Version

The Spine version used to export this data, or null.

this.Width

Full Usage: this.Width

this.X

Full Usage: this.X

this.Y

Full Usage: this.Y

Type something to start searching.