Esempio n. 1
0
			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;
			}
Esempio n. 2
0
			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;
			}
Esempio n. 3
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;
 }
Esempio n. 4
0
 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;
 }
Esempio n. 5
0
 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;
 }
Esempio n. 6
0
			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";
			}