Boolean

From Valve Developer Community
(Redirected from Bool)
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.