private static PMXFormat.DisplayFrameList ConvertDisplayFrameList(PMDFormat pmd) { PMXFormat.DisplayFrameList result = new PMXFormat.DisplayFrameList(); result.display_frame = new PMXFormat.DisplayFrame[pmd.bone_display_list.bone_disp.Length]; for (int i = 0, i_max = result.display_frame.Length; i < i_max; ++i) { result.display_frame[i] = ConvertDisplayFrame(pmd, i); } return(result); }
private PMXFormat.DisplayFrameList ReadDisplayFrameList() { PMXFormat.DisplayFrameList result = new PMXFormat.DisplayFrameList(); uint display_frame_count = binary_reader_.ReadUInt32(); result.display_frame = new PMXFormat.DisplayFrame[display_frame_count]; for (uint i = 0, i_max = (uint)result.display_frame.Length; i < i_max; ++i) { result.display_frame[i] = ReadDisplayFrame(); } return(result); }
private PMXFormat.DisplayFrameList ReadDisplayFrameList() { PMXFormat.DisplayFrameList result = new PMXFormat.DisplayFrameList(); uint display_frame_count = binary_reader_.ReadUInt32(); result.display_frame = new PMXFormat.DisplayFrame[display_frame_count]; for (uint i = 0, i_max = (uint)result.display_frame.Length; i < i_max; ++i) { result.display_frame[i] = ReadDisplayFrame(); } return result; }
private static PMXFormat.DisplayFrameList ConvertDisplayFrameList(PMDFormat pmd) { PMXFormat.DisplayFrameList result = new PMXFormat.DisplayFrameList(); result.display_frame = new PMXFormat.DisplayFrame[pmd.bone_display_list.bone_disp.Length]; for (int i = 0, i_max = result.display_frame.Length; i < i_max; ++i) { result.display_frame[i] = ConvertDisplayFrame(pmd, i); } return result; }