# AssetPalette struct

Namespace: [Grasshopper2.Types.Shapes](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.shapes.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public struct AssetPalette
```

Wraps up all colour logic for asset instancing.

## Constructors

- [AssetPalette](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/ctor.md): (3 overloads) Constructor which allows you to set all special colour fields directly.

## Fields

- [Body](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/body.md): Vehicle body colour. A very boring but common colour.
- [BodyAlt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/bodyalt.md): Alternate vehicle body colour. A loud colour more likely to be used by business-owned vehicles.
- [Gamp](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/gamp.md): Umbrella colour.
- [Garb](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/garb.md): Casual clothing colour.
- [Gear](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/gear.md): Gear colour, like phones or clipboards.
- [Gilt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/gilt.md): Vehicle chrome parts colour.
- [Hair](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/hair.md): Hair colour.
- [LampFore](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/lampfore.md): Vehicle front lights colour.
- [LampRear](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/lamprear.md): Vehicle read lights colour.
- [Pack](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/pack.md): Backpack or bag colour.
- [Pane](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/pane.md): Vehicle glass/window colour.
- [Pant](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/pant.md): Casual trousers colour.
- [Rims](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/rims.md): Vehicle wheel rim colour.
- [Seed](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/seed.md): Seed used for random colour picks.
- [Shoe](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/shoe.md): Show colour.
- [Skin](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/skin.md): Skin colour.
- [Suit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/suit.md): Business suit colour.
- [Trim](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/trim.md): Vehicle plastic or trimming colour.
- [Tyre](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/tyre.md): Vehicle tyre rubber colour.

## Methods

- [ModifyFigurineColours](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/modifyfigurinecolours.md): Modify one or more figurine colours of this palette.
- [ModifyVehicleColours](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/modifyvehiclecolours.md): Modify one or more vehicle colours of this palette.
- [Resolve](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetpalette/resolve.md): (2 overloads) Resolve a colour in case it's a special asset palette colour.
