CosmeticPacker.Input
A class in Root.Township, Alta.Customization.
One cosmetic part to pack into a character's combined mesh and texture, with its colours and blit materials.
- Listed in Customization and screenshots
- Nested in
CosmeticPacker
Constructors
| Member | What it is |
|---|---|
Input() | Creates a CosmeticPacker.Input with default values. |
Fields
| Member | What it is |
|---|---|
protected static readonly int RectProperty | Shader ID of the _Rect property set on the blit materials. |
Properties
| Member | What it is |
|---|---|
TwoColors Arguments { get; set; } | The primary and secondary colours applied to the part. |
CosmeticPacker.PartId CopyFrom { get; set; } | Another part whose texture area and colours this one shares. A zero hash means none. |
Material DiffuseBlit { get; set; } | Material used to draw the part's colour texture into the packed texture. |
bool IsAlphaBlending { get; set; } | Whether the part goes in the transparent mesh. |
bool IsOnHead { get; set; } | Whether the part belongs to the head, kept separate in first person. |
Material NormalBlit { get; set; } | Material used to draw the part's normal map into the packed texture. |
CosmeticPacker.PartId PartId { get; set; } | Which cosmetic part this is. |
Vector4 Rect { get; set; } | Where the part sits in the packed texture. |
Methods
| Member | What it is |
|---|---|
virtual void Copy(CosmeticPacker.Input copyFrom) | Takes the colours from another input. |
virtual void SetupForBlit(Vector4 rect) | Applies the colours and the target area to the blit materials. |
Used in
Members of other types that take, return or hold a Input: