public void GetMaterialProperties()
        {
            //model.Name = System.IO.Path.GetFileNameWithoutExtension(sMaterialUniqueName);
            model.InitName(System.IO.Path.GetFileNameWithoutExtension(sMaterialUniqueName));
            float[] scale = new float[2];
            IGCore.GetMaterialScale(sMaterialUniqueName, scale);
            model.MatScaleX         = scale[0].ToString();
            model.MatScaleY         = scale[1].ToString();
            model.AlbedoTextureName = Marshal.PtrToStringUni(IGCore.GetMaterialTextureUniqueName(sMaterialUniqueName, 0));
            model.NormalTextureName = Marshal.PtrToStringUni(IGCore.GetMaterialTextureUniqueName(sMaterialUniqueName, 1));
            model.OrmTextureName    = Marshal.PtrToStringUni(IGCore.GetMaterialTextureUniqueName(sMaterialUniqueName, 2));

            MaterialCommonControl.DataContext  = model;
            MaterialTextureControl.DataContext = model;
        }