isodi.resources.pack_json

This module implements pack loading.

Members

Functions

getPack
Pack getPack(JSONParser json)

Read the pack directly from the JSON parser.

getPack
Pack getPack(string filename)

Read the pack data from a JSON file.

parseBoneSet
BoneUV[BoneType] parseBoneSet(string json, BoneType delegate(wstring) @(safe) bonePicker)

Parse a bone set from a JSON string.

parseSkeleton
Bone[] parseSkeleton(BoneType delegate(wstring) @(safe) bonePicker, string json)
Undocumented in source. Be warned that the author may not have intended to support it.
parseSkeletonImpl
Bone[] parseSkeletonImpl(BoneType delegate(wstring) @(safe) bonePicker, JSONParser parser, size_t parent, size_t index, float divisor)
Undocumented in source.
parseTransforms
Matrix parseTransforms(JSONParser parser)

Parse a JSON transform list.

See Also

isodi.resources.pack

Meta