Garry's Mod Wiki

DColorCube:SetDefaultColor

  DColorCube:SetDefaultColor( table )

Recently Added

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

Description

An AccessorFunc that sets the color cube's default color. This value will be used to reset to on middle mouse click of the color cube's draggable slider.

Arguments

1 table
The new default Color.