Example #1
0
 public void CopyTo(Material dest)
 {
     dest.AmbientColor = AmbientColor;
     dest.BackfaceCulling = BackfaceCulling;
     dest.DiffuseColor = DiffuseColor;
     dest.EmissiveColor = EmissiveColor;
     dest.FogEnable = FogEnable;
     dest.GouraudShading = GouraudShading;
     dest.Lighting = Lighting;
     dest.MaterialType = MaterialType;
     dest.MaterialTypeParam = MaterialTypeParam;
     dest.NormalizeNormals = NormalizeNormals;
     dest.Shininess = Shininess;
     dest.SpecularColor = SpecularColor;
     dest.Texture1 = Texture1;
     dest.Texture2 = Texture2;
     dest.Texture3 = Texture3;
     dest.Texture4 = Texture4;
     dest.Wireframe = Wireframe;
     dest.ZBuffer = ZBuffer;
     dest.ZWriteEnable = ZWriteEnable;
 }
Example #2
0
 public void SetMaterial(Material mat)
 {
     VideoDriver_SetMaterial(_raw, mat.Raw);
 }