public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_vertexPool        = des.ReadVector4Array(br);
     m_silhouetteOffsets = des.ReadInt32Array(br);
     m_cachedTransform   = new hkQTransform();
     m_cachedTransform.Read(des, br);
     m_cachedUp = des.ReadVector4(br);
 }
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_lastRelativeTransform = new hkQTransform();
     m_lastRelativeTransform.Read(des, br);
     m_generator = des.ReadClassPointer <hkaiSilhouetteGenerator>(br);
     br.ReadUInt32();
     m_generatedLastFrame  = br.ReadBoolean();
     m_generatingThisFrame = br.ReadBoolean();
     br.ReadUInt16();
 }
예제 #3
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_userData = br.ReadUInt64();
     m_lazyRecomputeDisplacementThreshold = br.ReadSingle();
     m_type = (GeneratorType)br.ReadByte();
     m_forceGenerateOntoPpu = br.ReadByte();
     br.ReadUInt16();
     m_materialId = br.ReadInt32();
     br.ReadUInt32();
     m_cachedSilhouettes = des.ReadClassPointer <hkaiConvexSilhouetteSet>(br);
     m_transform         = new hkQTransform();
     m_transform.Read(des, br);
 }