示例#1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_node = des.ReadClassPointer <hkxNode>(br);
     br.ReadUInt64();
     m_worldFromMesh = des.ReadMatrix4(br);
     br.ReadUInt64();
     m_skinBinding          = des.ReadClassPointer <hkxSkinBinding>(br);
     m_vertexChannels       = des.ReadUInt32Array(br);
     m_triangleChannels     = des.ReadUInt32Array(br);
     m_edgeChannels         = des.ReadUInt32Array(br);
     m_meshBufferInterfaces = des.ReadClassPointerArray <hclSceneDataSetupMeshSection>(br);
 }
示例#2
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_modeller      = des.ReadStringPointer(br);
     m_asset         = des.ReadStringPointer(br);
     m_sceneLength   = br.ReadSingle();
     m_numFrames     = br.ReadUInt32();
     m_rootNode      = des.ReadClassPointer <hkxNode>(br);
     m_selectionSets = des.ReadClassPointerArray <hkxNodeSelectionSet>(br);
     m_cameras       = des.ReadClassPointerArray <hkxCamera>(br);
     m_lights        = des.ReadClassPointerArray <hkxLight>(br);
     br.ReadUInt64();
     br.ReadUInt64();
     m_materials        = des.ReadClassPointerArray <hkxMaterial>(br);
     m_inplaceTextures  = des.ReadClassPointerArray <hkxTextureInplace>(br);
     m_externalTextures = des.ReadClassPointerArray <hkxTextureFile>(br);
     m_skinBindings     = des.ReadClassPointerArray <hkxSkinBinding>(br);
     m_splines          = des.ReadClassPointerArray <hkxSpline>(br);
     m_appliedTransform = des.ReadMatrix3(br);
 }