public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteVector4Array(bw, m_vertexPool);
     s.WriteInt32Array(bw, m_silhouetteOffsets);
     m_cachedTransform.Write(s, bw);
     s.WriteVector4(bw, m_cachedUp);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     m_lastRelativeTransform.Write(s, bw);
     s.WriteClassPointer <hkaiSilhouetteGenerator>(bw, m_generator);
     bw.WriteUInt32(0);
     bw.WriteBoolean(m_generatedLastFrame);
     bw.WriteBoolean(m_generatingThisFrame);
     bw.WriteUInt16(0);
 }
예제 #3
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(m_userData);
     bw.WriteSingle(m_lazyRecomputeDisplacementThreshold);
     bw.WriteByte((byte)m_type);
     bw.WriteByte(m_forceGenerateOntoPpu);
     bw.WriteUInt16(0);
     bw.WriteInt32(m_materialId);
     bw.WriteUInt32(0);
     s.WriteClassPointer <hkaiConvexSilhouetteSet>(bw, m_cachedSilhouettes);
     m_transform.Write(s, bw);
 }