Catlike Coding
Unity Code Documentation
Classes | Enumerations
Package CatlikeCoding.SDFToolkit

Classes

class  SDFTextureGenerator
 Utility class for generating signed distance field textures from anti-aliased alpha maps. More...
 

Enumerations

enum  RGBFillMode { RGBFillMode.White, RGBFillMode.Black, RGBFillMode.Distance, RGBFillMode.Source }
 How to fill the RGB channels of a generated singed distance field texture. More...
 

Enumeration Type Documentation

How to fill the RGB channels of a generated singed distance field texture.

Enumerator
White 

Set the RGB channels to 1.

Black 

Set the RGB channels to 0.

Distance 

Set the RGB channels to the generated distance field.

Source 

Copy the source texture's RGB channels.