Garry's Mod Wiki

DColorMixer:SetVector

  DColorMixer:SetVector( Vector vec )

Description

Sets the color of DColorMixer from a Vector. Alpha is not included.

Arguments

1 Vector vec
The color to set. It is expected that the vector will have values be from 0 to 1. (i.e. be normalized)