Exemplo n.º 1
0
 public void setShader(string MaterialName, float X, float Y, short Width, short Height, byte AlignOrg, byte AlignScreen, Suave.Classes.SuaveLib.rgba RGBA, float Sort = 0f)
 {
     this.type = 8;
     this.alignOrg = AlignOrg;
     this.alignScreen = AlignScreen;
     this.width = Width;
     this.height = Height;
     this.x = X;
     this.y = Y;
     this.color = RGBA.getRGBA();
     this.sort = Sort;
     this.materialIndex = this.SuaveLib.G_MaterialIndex(MaterialName);
 }
Exemplo n.º 2
0
 public void setText(string Text, float X, float Y, float FontScale, byte AlignOrg, byte AlignScreen, Suave.Classes.SuaveLib.rgba RGBA, float Sort = 1f)
 {
     this.type = 1;
     this.alignOrg = AlignOrg;
     this.alignScreen = AlignScreen;
     this.fontScale = FontScale;
     this.x = X;
     this.y = Y;
     this.color = RGBA.getRGBA();
     this.sort = Sort;
     this.text = this.SuaveLib.G_LocalizedStringIndex(Text);
 }
Exemplo n.º 3
0
 public void fadeOverTime(Suave.Classes.SuaveLib.rgba FromColor, short FadeTime)
 {
     this.fadeStartTime = this.getLevelTime();
     this.fadeTime = FadeTime;
     this.fromColor = FromColor.getRGBA();
 }