Garry's Mod Wiki

DColorMixer:SetPaletteName

  DColorMixer:SetPaletteName( string name )

Recently Added

This was recently added in version (2026.08.14). It might only be available on the Dev Branch right now.

Description

Sets the palette name for this color mixer, making changes to the palette by the player after this function call be saved separately from other palettes.

Naturally palettes with the same name will share the changes.

Arguments

1 string name
The new internal palette name.