Blaze has a unique way of rendering distance fields - the things used to display text. Because of how it works, it has an interesting side effect - you can vary the distance spread at a vertex level. This can be used for some awesome glow effects or even for some complex terrain heightmap generation.
Static Public Member Functions | |
static void | SetFunction (OnGetDistance method) |
Sets a custom distance spread function for both inner and outer spreads. More... | |
static void | SetFunctions (OnGetDistance inner, OnGetDistance outer, bool hd) |
Sets a custom distance spread function for inner and outer spreads. More... | |
Static Public Attributes | |
static bool | Custom |
Have you got a custom distance spread functions? Use SetFunctions to apply this. More... | |
static OnGetDistance | GetInner |
The delegate to run on the inner spread. Use SetFunction to apply this. More... | |
static OnGetDistance | GetOuter |
The delegate to run on the outer spread. Use SetFunction to apply this. More... | |
static bool | InnerOuterDiff =false |
True if inner/outer spreads are different. More... | |
static float | DefaultInner =0.2f |
The default inner spread. More... | |
static float | DefaultOuter =0.2f |
The default outer spread. More... | |
|
inlinestatic |
Sets a custom distance spread function for both inner and outer spreads.
|
inlinestatic |
Sets a custom distance spread function for inner and outer spreads.
|
static |
Have you got a custom distance spread functions? Use SetFunctions to apply this.
|
static |
The default inner spread.
|
static |
The default outer spread.
|
static |
The delegate to run on the inner spread. Use SetFunction to apply this.
|
static |
The delegate to run on the outer spread. Use SetFunction to apply this.
|
static |
True if inner/outer spreads are different.