public Clip(EndianBinaryReader reader, int[] version) { m_StreamedClip = new StreamedClip(reader); m_DenseClip = new DenseClip(reader); m_ConstantClip = new ConstantClip(reader); m_Binding = new ValueArrayConstant(reader, version); }
public Clip(EndianBinaryReader reader, int[] version) { m_StreamedClip = new StreamedClip(reader); m_DenseClip = new DenseClip(reader); if (version[0] > 4 || (version[0] == 4 && version[1] >= 3)) //4.3 and up { m_ConstantClip = new ConstantClip(reader); } m_Binding = new ValueArrayConstant(reader, version); }