public override TriColorGraphic GetColoredVersion( Shader newShader, Color newColor, Color newColorTwo, Color newColorThree) { return(TriColorGraphicDatabase.Get <TriColorGraphic_Multi>(this.path, newShader, this.drawSize, newColor, newColorTwo, newColorThree, this.data)); }
public virtual TriColorGraphic GetCopy(Vector2 newDrawSize) { return(TriColorGraphicDatabase.Get(this.GetType(), this.path, this.Shader, newDrawSize, this.color, this.colorTwo, this.colorThree)); }
public static TriColorGraphic Get( System.Type graphicClass, string path, Shader shader, Vector2 drawSize, Color color, Color colorTwo, Color colorThree) { return(TriColorGraphicDatabase.Get(graphicClass, path, shader, drawSize, color, colorTwo, colorThree, (GraphicData)null, (List <ShaderParameter>)null)); }
public Graphic GetNakedGraphic(BodyTypeDef bodyType, Shader shader, Color skinColor, Color skinColorSecond, Color skinColorThird, string userpath, string gender) => TriColorGraphicDatabase.Get(typeof(Graphic_Multi), GetNakedPath(bodyType, userpath, this.useGenderedBodies ? gender : ""), shader, Vector2.one, skinColor, skinColorSecond, skinColorThird, data: null, shaderParameters: null);