Class TesseraPalette
Inheritance
TesseraPalette
Implements
ISerializationCallbackReceiver
Assembly: cs.temp.dll.dll
Syntax
public class TesseraPalette : ScriptableObject, ISerializationCallbackReceiver
Constructors
TesseraPalette()
Declaration
Fields
entries
Declaration
public List<PaletteEntry> entries
Field Value
matchOverrides
Declaration
public Dictionary<(int, int), bool> matchOverrides
Field Value
Properties
defaultPalette
Declaration
public static TesseraPalette defaultPalette { get; }
Property Value
entryCount
Declaration
public int entryCount { get; }
Property Value
Methods
GetColor(Int32)
Declaration
public Color GetColor(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetEntry(Int32)
Declaration
public PaletteEntry GetEntry(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
Match(Int32, Int32)
Declaration
public bool Match(int a, int b)
Parameters
Returns
Match(FaceDetails, FaceDetails)
Declaration
public bool Match(FaceDetails a, FaceDetails b)
Parameters
Returns
OnAfterDeserialize()
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Declaration
public void OnBeforeSerialize()
Implements
ISerializationCallbackReceiver