private PmxBoneMorph ReadPmxBoneMorph() { var morph = new PmxBoneMorph(); morph.Index = _reader.ReadVarLenIntAsInt32(BoneElementSize); morph.Translation = _reader.ReadVector3(); morph.Rotation = _reader.ReadQuaternion(); return(morph); }
private void WritePmxBoneMorph([NotNull] PmxBoneMorph morph) { _writer.WriteInt32AsVarLenInt(morph.Index, MorphElementSize); _writer.Write(morph.Translation); _writer.Write(morph.Rotation); }