Serializable url for native asset. For internal usage.
Whether the asset is loaded or not
A scale can be specified on the JSON or binary loader which will scale the bone positions, image sizes, and animation translations. This can be useful when using different sized images than were used when design ing the skeleton in Spine. For example, if using images that are half the size than were used in Spine, a scale of 0.5 can be used. This is commonly used for games that can run with either low or high resolution texture atlases. see http://en.esotericsoftware.com/spine-using-runtimes#Scaling
Indicates whether its native object should be preloaded from native url.
Returns the url of this asset's native object, if none it will returns an empty string.
The number of reference
Set native file name for this asset.
Add references of asset
itself
Reduce references of asset and it will be auto released when refCount equals 0.
itself
Get the included SkeletonData used in spine runtime.
Returns a {{#crossLinkModule "sp.spine"}}sp.spine{{/crossLinkModule}}.SkeletonData object.
应 AssetDB 要求提供这个方法。 返回一个序列化后的对象
Returns the string representation of the object.
The Asset
object overrides the toString()
method of the Object
object.
JavaScript calls the toString() method automatically
when an asset is to be represented as a text value or when a texture is referred to in a string concatenation.
For assets of the native type, it will return this.nativeUrl
.
Otherwise, an empty string is returned.
This method may be overwritten by subclasses.
应 AssetDB 要求提供这个方法。
Generated using TypeDoc
The skeleton data of spine.