Returns the states in an StateSet as an array.
The StateSet to be queried.
A Array of state types representing the current state.