PMXLoaderScript.ConvertBoneList(PMDFormat)

Here are the examples of the csharp api class PMXLoaderScript.ConvertBoneList(PMDFormat) 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
public static PMXFormat PMD2PMX(PMDFormat pmd) {
		PMXFormat result = new PMXFormat();
		result.meta_header = CreateMetaHeader(pmd);
		result.header = ConvertHeader(pmd.head, pmd.eg_head, pmd);
		result.vertex_list = ConvertVertexList(pmd);
		result.face_vertex_list = ConvertFaceVertexList(pmd);
		result.texture_list = ConvertTextureList(pmd);
		result.material_list = ConvertMaterialList(pmd, x=>CreateTextureIndex(ref result.texture_list.texture_file, x));
		result.bone_list = ConvertBoneList(pmd); 
		result.morph_list = ConvertMorphList(pmd);
		result.display_frame_list = ConvertDisplayFrameList(pmd);
		result.rigidbody_list = ConvertRigidbodyList(pmd);
		result.rigidbody_joint_list = ConvertRigidbodyJointList(pmd);
		return result;
	}