Texture Toolkit  0.1
Unity Texture Editor and Generator
Static Public Member Functions | List of all members
texturetk.TextureTools Class Reference

Static Public Member Functions

static void DrawLine (Texture2D tex, Vector2 pos1, Vector2 pos2, Color col)
 Draws a line from pos1 to pos2 on the given texture More...
 
static void FlipY (Texture2D tex)
 Flips the given texture vertically More...
 
static void Rotate (Texture2D tex)
 Rotates the given texture 90 degrees More...
 
static void GrayscaleToColor (Texture2D tex, Color start, Color end)
 Converts Grayscale Textures to Colored Texture More...
 

Member Function Documentation

static void texturetk.TextureTools.DrawLine ( Texture2D  tex,
Vector2  pos1,
Vector2  pos2,
Color  col 
)
static

Draws a line from pos1 to pos2 on the given texture

static void texturetk.TextureTools.FlipY ( Texture2D  tex)
static

Flips the given texture vertically

static void texturetk.TextureTools.GrayscaleToColor ( Texture2D  tex,
Color  start,
Color  end 
)
static

Converts Grayscale Textures to Colored Texture

static void texturetk.TextureTools.Rotate ( Texture2D  tex)
static

Rotates the given texture 90 degrees


The documentation for this class was generated from the following file: