示例#1
0
 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);
 }
示例#2
0
 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] > 1) || (version[0] == 4 && version[1] == 1 && version[2] >= 5)) //4.1.5f1 and up
     {
         m_ConstantClip = new ConstantClip(reader);
     }
     m_Binding = new ValueArrayConstant(reader, version);
 }
示例#3
0
        public Clip(ObjectReader reader)
        {
            var version = reader.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);
        }