From Valve Developer Community
Revision as of 07:29, 14 May 2011 by Sacaldur (talk | contribs)

Jump to: navigation, search
Deutsch Русский

A boolean value is either "on" or "off". When enabled it is denoted with true or 1, and when disabled it is denoted with false or 0.

Materials use 1 and 0. C++ code generally uses true and false.