Exemple #1
0
 public Brush(Texture brushTex, float scale, Color color, Texture normalTex, float normalBlend, ColorBlendType colorBlending, NormalBlendType normalBlending)
     : this(brushTex, scale, color, normalTex, normalBlend)
 {
     ColorBlending  = colorBlending;
     NormalBlending = normalBlending;
 }
Exemple #2
0
 public Brush(Texture brushTex, float scale, Color color, Texture normalTex, float normalBlend, Texture heightTex, float heightBlend, ColorBlendType colorBlending, NormalBlendType normalBlending, HeightBlendType heightBlending)
     : this(brushTex, scale, color, normalTex, normalBlend, colorBlending, normalBlending)
 {
     BrushHeightTexture = heightTex;
     HeightBlend        = heightBlend;
     HeightBlending     = heightBlending;
 }
 public PaintBrush(Texture2D brushTex, float scale, Color color, Texture2D normalTex, float normalBlend, Texture2D heightTex, float heightBlend, ColorBlendType colorBlending, NormalBlendType normalBlending)
     : this(brushTex, scale, color, normalTex, normalBlend, colorBlending, normalBlending)
 {
     BrushHeightTexture = heightTex;
     HeightBlend        = heightBlend;
 }