Ethans Graphics Kit
Collection of graphics effects for the game engine Unity3D(version 5.3.1 specifically).
EthansGraphicsKit.ProceduralTexture.ProceduralTextureGenerator Class Reference

Static Public Member Functions

static Texture Generate (string shaderName, int passId, int textureWidth, int textureHeight, Color colorA, Color colorB, Vector4 param)
 Generate texture from shader. More...
 
static Texture GeneratePattern (Pattern p, int textureWidth, int textureHeight, Color colorA, Color colorB, Vector2 size, float smoothness, float scale)
 

Member Function Documentation

static Texture EthansGraphicsKit.ProceduralTexture.ProceduralTextureGenerator.Generate ( string  shaderName,
int  passId,
int  textureWidth,
int  textureHeight,
Color  colorA,
Color  colorB,
Vector4  param 
)
static

Generate texture from shader.

Parameters
shaderName
passId
textureWidth
textureHeight
colorA
colorB
param
Returns
static Texture EthansGraphicsKit.ProceduralTexture.ProceduralTextureGenerator.GeneratePattern ( Pattern  p,
int  textureWidth,
int  textureHeight,
Color  colorA,
Color  colorB,
Vector2  size,
float  smoothness,
float  scale 
)
static

Parameters
p
textureWidth
textureHeight
colorA
colorB
size
smoothness
Returns

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