Skip to main content

CustomizationPackingSettings

A class in Root.Township, Alta.Customization.

Global settings asset with the default blit materials for packing cosmetic textures. Get it with GlobalSettings<CustomizationPackingSettings>.Instance.

Constructors​

MemberWhat it is
CustomizationPackingSettings()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private Material diffuseBlitBacking field for DiffuseBlit.
private Material normalBlitBacking field for NormalBlit.

Properties​

MemberWhat it is
Material DiffuseBlit { get; }Material copied by each mesh part to blit its diffuse texture into the character atlas.
Material NormalBlit { get; }Material copied by each mesh part to blit its normal map into the normal atlas.