C# Class Spine.SkeletonJson

Mostra file Open project: EsotericSoftware/spine-runtimes Class Usage Examples

Public Methods

Method Description
ReadSkeletonData ( String path ) : SkeletonData
ReadSkeletonData ( TextReader reader ) : SkeletonData
SkeletonJson ( ) : System
SkeletonJson ( AttachmentLoader attachmentLoader ) : System

Private Methods

Method Description
GetBoolean ( Object>.Dictionary map, String name, bool defaultValue ) : bool
GetFloat ( Object>.Dictionary map, String name, float defaultValue ) : float
GetFloatArray ( Object>.Dictionary map, String name, float scale ) : float[]
GetInt ( Object>.Dictionary map, String name, int defaultValue ) : int
GetIntArray ( Object>.Dictionary map, String name ) : int[]
GetString ( Object>.Dictionary map, String name, String defaultValue ) : String
ReadAnimation ( Object>.Dictionary map, String name, SkeletonData skeletonData ) : void
ReadAttachment ( Object>.Dictionary map, Spine.Skin skin, int slotIndex, String name ) : Attachment
ReadCurve ( Object>.Dictionary valueMap, CurveTimeline timeline, int frameIndex ) : void
ReadFile ( string path ) : Task
ReadVertices ( Object>.Dictionary map, VertexAttachment attachment, int verticesLength ) : void
ToColor ( String hexString, int colorIndex ) : float

Method Details

ReadSkeletonData() public method

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

ReadSkeletonData() public method

public ReadSkeletonData ( TextReader reader ) : SkeletonData
reader System.IO.TextReader
return SkeletonData

SkeletonJson() public method

public SkeletonJson ( ) : System
return System

SkeletonJson() public method

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