Skip to main content

BooleanInput

A class in Root.Township, the global namespace.

An on or off controller input value (a button), usable directly as a bool.

Constructors​

MemberWhat it is
BooleanInput()Creates a BooleanInput with default values.

Methods​

MemberWhat it is
static BooleanInput op_Explicit(bool value)Makes a BooleanInput with the given state.
static bool op_Implicit(BooleanInput input)Converts to bool: the current state.
void Serialize(Stream stream)Reads or writes the state as one bool.

Used in​

Members of other types that take, return or hold a BooleanInput: