Click or drag to resize

BinaryUtilsToBinaryMask Method

Converts a collection of bool values to a bit mask.

Namespace:  TouchScript.Utils
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static uint ToBinaryMask(
	IEnumerable<bool> collection
)

Parameters

collection
Type: System.Collections.GenericIEnumerableBoolean
The collection of bool values.

Return Value

Type: UInt32
Binary mask.
See Also