set

Set each of the specified StateFlags.

Parameters

flags

The collection of StateFlags to add.