private PMXFormat.RigidbodyJointList ReadRigidbodyJointList() { PMXFormat.RigidbodyJointList result = new PMXFormat.RigidbodyJointList(); uint joint_count = binary_reader_.ReadUInt32(); result.joint = new PMXFormat.Joint[joint_count]; for (uint i = 0, i_max = (uint)result.joint.Length; i < i_max; ++i) { result.joint[i] = ReadJoint(); } return(result); }
private PMXFormat.RigidbodyJointList ReadRigidbodyJointList() { PMXFormat.RigidbodyJointList result = new PMXFormat.RigidbodyJointList(); uint joint_count = binary_reader_.ReadUInt32(); result.joint = new PMXFormat.Joint[joint_count]; for (uint i = 0, i_max = (uint)result.joint.Length; i < i_max; ++i) { result.joint[i] = ReadJoint(); } return result; }
private static PMXFormat.RigidbodyJointList ConvertRigidbodyJointList(PMDFormat pmx) { PMXFormat.RigidbodyJointList result = new PMXFormat.RigidbodyJointList(); result.joint = pmx.rigidbody_joint_list.joint.Select(x => ConvertJoint(x)).ToArray(); return(result); }
private static PMXFormat.RigidbodyJointList ConvertRigidbodyJointList(PMDFormat pmx) { PMXFormat.RigidbodyJointList result = new PMXFormat.RigidbodyJointList(); result.joint = pmx.rigidbody_joint_list.joint.Select(x=>ConvertJoint(x)).ToArray(); return result; }