PMXLoaderScript.ReadRigidbody()

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

1 Example 7

1. Example

Project: mmd-for-unity
Source File: PMXLoaderScript.cs
private PMXFormat.RigidbodyList ReadRigidbodyList() {
		PMXFormat.RigidbodyList result = new PMXFormat.RigidbodyList();
		uint rigidbody_count = binary_reader_.ReadUInt32();
		result.rigidbody = new PMXFormat.Rigidbody[rigidbody_count];
		for (uint i = 0, i_max = (uint)result.rigidbody.Length; i < i_max; ++i) {
			result.rigidbody[i] = ReadRigidbody();
		}
		return result;
	}