// Token: 0x060001BC RID: 444 RVA: 0x000104E0 File Offset: 0x0000E6E0
 public PmxMaterialAttribute(PmxMaterialAttribute att)
 {
     this.BumpMapTexture   = att.BumpMapTexture;
     this.NormalMapTexture = att.NormalMapTexture;
     this.CubeMapTexture   = att.CubeMapTexture;
     this.BumpMapUV        = att.BumpMapUV;
     this.NormalMapUV      = att.NormalMapUV;
     this.CubeMapUV        = att.CubeMapUV;
 }
 // Token: 0x060001BD RID: 445 RVA: 0x00010543 File Offset: 0x0000E743
 public void Clear()
 {
     this.BumpMapTexture   = null;
     this.NormalMapTexture = null;
     this.CubeMapTexture   = null;
     this.BumpMapUV        = PmxMaterialAttribute.UVTarget.UV;
     this.NormalMapUV      = PmxMaterialAttribute.UVTarget.UV;
     this.CubeMapUV        = PmxMaterialAttribute.UVTarget.UV;
 }
        // Token: 0x060001BF RID: 447 RVA: 0x000106C0 File Offset: 0x0000E8C0
        public void SetFromText(string text)
        {
            this.Clear();
            bool flag = !string.IsNullOrEmpty(text);

            if (flag)
            {
                string[] tag   = PmxTag.GetTag("BumpMap", text);
                bool     flag2 = tag != null && tag.Length != 0;
                if (flag2)
                {
                    this.BumpMapTexture = tag[0];
                }
                string[] tag2  = PmxTag.GetTag("BumpMapUV", text);
                bool     flag3 = tag2 != null && tag2.Length != 0;
                if (flag3)
                {
                    this.BumpMapUV = PmxMaterialAttribute.TextToUVTarget(tag2[0]);
                }
                string[] tag3  = PmxTag.GetTag("NormalMap", text);
                bool     flag4 = tag3 != null && tag3.Length != 0;
                if (flag4)
                {
                    this.NormalMapTexture = tag3[0];
                }
                string[] tag4  = PmxTag.GetTag("NormalMapUV", text);
                bool     flag5 = tag4 != null && tag4.Length != 0;
                if (flag5)
                {
                    this.NormalMapUV = PmxMaterialAttribute.TextToUVTarget(tag4[0]);
                }
                string[] tag5  = PmxTag.GetTag("CubeMap", text);
                bool     flag6 = tag5 != null && tag5.Length != 0;
                if (flag6)
                {
                    this.CubeMapTexture = tag5[0];
                }
                string[] tag6  = PmxTag.GetTag("CubeMapUV", text);
                bool     flag7 = tag6 != null && tag6.Length != 0;
                if (flag7)
                {
                    this.CubeMapUV = PmxMaterialAttribute.TextToUVTarget(tag6[0]);
                }
            }
        }
        // Token: 0x060001BE RID: 446 RVA: 0x00010578 File Offset: 0x0000E778
        private static PmxMaterialAttribute.UVTarget TextToUVTarget(string text)
        {
            PmxMaterialAttribute.UVTarget result = PmxMaterialAttribute.UVTarget.UV;
            string text2 = text.ToLower();
            string text3 = text2;
            uint   num   = < PrivateImplementationDetails >.ComputeStringHash(text3);

            if (num <= 1220308614U)
            {
                if (num <= 677736828U)
                {
                    if (num != 509666448U)
                    {
                        if (num == 677736828U)
                        {
                            if (text3 == "uva4xy")
                            {
                                result = PmxMaterialAttribute.UVTarget.UVA4xy;
                            }
                        }
                    }
                    else if (text3 == "uva4zw")
                    {
                        result = PmxMaterialAttribute.UVTarget.UVA4zw;
                    }
                }
                else if (num != 1120040258U)
                {
                    if (num == 1220308614U)
                    {
                        if (text3 == "uva2xy")
                        {
                            result = PmxMaterialAttribute.UVTarget.UVA2xy;
                        }
                    }
                }
                else if (text3 == "uva2zw")
                {
                    result = PmxMaterialAttribute.UVTarget.UVA2zw;
                }
            }
            else if (num <= 3863463601U)
            {
                if (num != 3696084769U)
                {
                    if (num == 3863463601U)
                    {
                        if (text3 == "uva3zw")
                        {
                            result = PmxMaterialAttribute.UVTarget.UVA3zw;
                        }
                    }
                }
                else if (text3 == "uva3xy")
                {
                    result = PmxMaterialAttribute.UVTarget.UVA3xy;
                }
            }
            else if (num != 4246972211U)
            {
                if (num == 4280130091U)
                {
                    if (text3 == "uva1xy")
                    {
                        result = PmxMaterialAttribute.UVTarget.UVA1xy;
                    }
                }
            }
            else if (text3 == "uva1zw")
            {
                result = PmxMaterialAttribute.UVTarget.UVA1zw;
            }
            return(result);
        }