internal Material(Material Prototype) { this.Color = Prototype.Color; this.EmissiveColor = Prototype.EmissiveColor; this.EmissiveColorUsed = Prototype.EmissiveColorUsed; this.TransparentColor = Prototype.TransparentColor; this.TransparentColorUsed = Prototype.TransparentColorUsed; this.DaytimeTexture = Prototype.DaytimeTexture; this.NighttimeTexture = Prototype.NighttimeTexture; this.BlendMode = Prototype.BlendMode; this.GlowAttenuationData = Prototype.GlowAttenuationData; }
internal Material() { this.Color = new Color32(255, 255, 255, 255); this.EmissiveColor = new Color24(0, 0, 0); this.EmissiveColorUsed = false; this.TransparentColor = new Color24(0, 0, 0); this.TransparentColorUsed = false; this.DaytimeTexture = null; this.NighttimeTexture = null; this.BlendMode = World.MeshMaterialBlendMode.Normal; this.GlowAttenuationData = 0; }
internal Material(string texture) { this.Color = new Color32(255, 255, 255, 255); this.EmissiveColor = new Color24(0, 0, 0); this.EmissiveColorUsed = false; this.DaytimeTexture = null; this.BlendMode = World.MeshMaterialBlendMode.Normal; this.GlowAttenuationData = 0; this.WrapMode = null; this.DaytimeTexture = texture; }
internal Material() { this.Color = new World.ColorRGBA(255, 255, 255, 255); this.EmissiveColor = new World.ColorRGB(0, 0, 0); this.EmissiveColorUsed = false; this.TransparentColor = new World.ColorRGB(0, 0, 0); this.TransparentColorUsed = false; this.DaytimeTexture = null; this.NighttimeTexture = null; this.BlendMode = World.MeshMaterialBlendMode.Normal; this.GlowAttenuationData = 0; this.TextColor = System.Drawing.Color.Black; this.BackgroundColor = System.Drawing.Color.White; this.TextPadding = new Vector2(0, 0); this.Font = "Arial"; }