PMXLoaderScript.ConvertBoneDisplay(PMXFormat, int)

Here are the examples of the csharp api class PMXLoaderScript.ConvertBoneDisplay(PMXFormat, int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
private static PMDFormat.BoneDisplayList ConvertBoneDisplayList(PMXFormat pmx) {
		PMDFormat.BoneDisplayList result = new PMDFormat.BoneDisplayList();
		result.bone_disp_count = (uint)pmx.bone_list.bone.Length;
		result.bone_disp = new PMDFormat.BoneDisplay[result.bone_disp_count];
		for (int i = 0; i < result.bone_disp_count; i++) {
			result.bone_disp[i] = ConvertBoneDisplay(pmx, i);
		return result;