TexturePacker.ExistingBlit
A private class in Root.Township, Alta.Customization. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Key for a texture already packed into the cosmetics atlas, so parts with the same texture and colours can share it.
- Listed in Customization and screenshots
- Nested in
TexturePacker
Constructors
| Member | What it is |
|---|---|
ExistingBlit(int workingIndex, Texture2D texture, CosmeticColor colorA, CosmeticColor colorB) | Creates a TexturePacker.ExistingBlit from workingIndex, texture, colorA and colorB. |
Fields
4 private and internal fields
| Member | What it is |
|---|---|
private CosmeticColor colorA | Primary colour applied. |
private CosmeticColor colorB | Secondary colour applied. |
private Texture2D texture | The source texture. |
private int workingIndex | The part's working index, or 0 when sharing is allowed. |
Methods
| Member | What it is |
|---|---|
override bool Equals(object obj) | Equal when index, texture and both colours are the same objects. |
override int GetHashCode() | Hash from the index, texture and both colours. |
Used in
Members of other types that take, return or hold a ExistingBlit: