C# Class Spine.SkeletonBinary

显示文件 Open project: EsotericSoftware/spine-runtimes Class Usage Examples

Public Properties

Property Type Description
TransformModeValues TransformMode[]

Public Methods

Method Description
GetVersionString ( Stream input ) : string

Returns the version string of binary skeleton data.

ReadSkeletonData ( Stream input ) : SkeletonData
ReadSkeletonData ( String path ) : SkeletonData
SkeletonBinary ( ) : System
SkeletonBinary ( AttachmentLoader attachmentLoader ) : System

Private Methods

Method Description
ReadAnimation ( String name, Stream input, SkeletonData skeletonData ) : void
ReadAttachment ( Stream input, Spine.Skin skin, int slotIndex, String attachmentName, bool nonessential ) : Attachment
ReadBoolean ( Stream input ) : bool
ReadCurve ( Stream input, int frameIndex, CurveTimeline timeline ) : void
ReadFile ( string path ) : Task
ReadFloat ( Stream input ) : float
ReadFloatArray ( Stream input, int n, float scale ) : float[]
ReadFully ( Stream input, byte buffer, int offset, int length ) : void
ReadInt ( Stream input ) : int
ReadSByte ( Stream input ) : sbyte
ReadShortArray ( Stream input ) : int[]
ReadSkin ( Stream input, String skinName, bool nonessential ) : Spine.Skin
ReadString ( Stream input ) : string
ReadVarint ( Stream input, bool optimizePositive ) : int
ReadVertices ( Stream input, int vertexCount ) : Vertices

Method Details

GetVersionString() public static method

Returns the version string of binary skeleton data.
public static GetVersionString ( Stream input ) : string
input Stream
return string

ReadSkeletonData() public method

public ReadSkeletonData ( Stream input ) : SkeletonData
input Stream
return SkeletonData

ReadSkeletonData() public method

public ReadSkeletonData ( String path ) : SkeletonData
path String
return SkeletonData

SkeletonBinary() public method

public SkeletonBinary ( ) : System
return System

SkeletonBinary() public method

public SkeletonBinary ( AttachmentLoader attachmentLoader ) : System
attachmentLoader AttachmentLoader
return System

Property Details

TransformModeValues public_oe static_oe property

public static TransformMode[] TransformModeValues
return TransformMode[]