コード例 #1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_boneFromSkinMeshTransforms = des.ReadMatrix4Array(br);
     m_transformSubset            = des.ReadUInt16Array(br);
     m_outputBufferIndex          = br.ReadUInt32();
     m_transformSetIndex          = br.ReadUInt32();
     m_objectSpaceDeformer        = new hclObjectSpaceDeformer();
     m_objectSpaceDeformer.Read(des, br);
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_inputBufferIdx       = br.ReadUInt32();
     m_outputBufferIdx      = br.ReadUInt32();
     m_scaleNormalBehaviour = (ScaleNormalBehaviour)br.ReadUInt32();
     br.ReadUInt32();
     m_inputTrianglesSubset       = des.ReadUInt16Array(br);
     m_triangleFromMeshTransforms = des.ReadMatrix4Array(br);
     m_objectSpaceDeformer        = new hclObjectSpaceDeformer();
     m_objectSpaceDeformer.Read(des, br);
 }