SkeletonData Type
Stores the setup pose and all of the stateless data for a skeleton.
Constructors
Constructor | Description |
Full Usage:
SkeletonData()
|
|
Instance members
Instance member | Description |
Full Usage:
this.Animations
|
The skeleton's animations. |
Full Usage:
this.AudioPath
|
The path to the audio directory as defined in Spine. Available only when nonessential data was exported. May be null. |
|
The skeleton's bones, sorted parent first. The root bone is always the first bone.
|
Full Usage:
this.DefaultSkin
|
The skeleton's default skin. By default this skin contains all attachments that were not in a skin in Spine. |
Full Usage:
this.Events
|
The skeleton's events. |
|
|
|
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.
|
|
|
Full Usage:
this.FindIkConstraint
Parameters:
string
Returns: IkConstraintData
May be null.
|
|
Full Usage:
this.FindPathConstraint
Parameters:
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.
|
Full Usage:
this.FindPhysicsConstraint
Parameters:
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.
|
|
|
|
|
Full Usage:
this.FindTransformConstraint
Parameters:
string
Returns: TransformConstraintData
May be null.
|
|
Full Usage:
this.Fps
|
The dopesheet FPS in Spine, or zero if nonessential data was not exported. |
Full Usage:
this.Hash
|
The skeleton data hash. This value will change if any of the skeleton data has changed. May be null. |
Full Usage:
this.Height
|
|
Full Usage:
this.IkConstraints
|
The skeleton's IK constraints. |
Full Usage:
this.ImagesPath
|
|
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. |
Full Usage:
this.PathConstraints
|
The skeleton's path constraints. |
Full Usage:
this.PhysicsConstraints
|
The skeleton's physics constraints. |
Full Usage:
this.ReferenceScale
|
Baseline scale factor for applying distance-dependent effects on non-scalable properties, such as angle or scale. Default is 100. |
Full Usage:
this.Skins
|
All skins, including the default skin. |
|
The skeleton's slots in the setup pose draw order.
|
Full Usage:
this.ToString
Returns: string
Modifiers: abstract |
|
Full Usage:
this.TransformConstraints
|
The skeleton's transform constraints. |
Full Usage:
this.Version
|
The Spine version used to export this data, or null. |
Full Usage:
this.Width
|
|
Full Usage:
this.X
|
|
Full Usage:
this.Y
|
|