Display where display output is written to texture (Texture2D).
public int ColorCount
Gets or sets the count of colors this display's dots can have. Default and minimum is two colors.
public Color OffColor
Color of single dots when it is turned to off-state (color 0). This have same effect than using SetColor(0,Color) or GetColor(0,Color) methods and is here for backward compatibility.
public Color OnColor
Color of single dots when it is turned to on-state (color 1). This have same effect than using SetColor(1,Color) or GetColor(1,Color) methods and is here for backward compatibility.
public Material TargetMaterial
Gets or sets the target material where texture is added. Usually set in Unity Inspector and DotMatrix will automatically set texture to this material when application starts.
public Color GetColor (int state)
Gets color used in dots when dot state is set to 'index'.
public Texture2D GetGeneratedTexture ()
Gets the texture containing dots of this display. Texture will be constantly updated when dots on display changes. Note that DotMatrix object need to be initialized before calling this method, either by calling DotMatrix.Init() or by setting it to auto-initialize on start.
public void SetColor (int state, Color color)
Sets color used in dots when dot state is set to 'index'.