TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.Utils
BinaryUtils Class
BinaryUtils Methods
ToBinaryMask Method
ToBinaryString Method
BinaryUtils
ToBinaryMask 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#
Copy
public
static
uint
ToBinaryMask
(
IEnumerable
<
bool
>
collection
)
Parameters
collection
Type:
System.Collections.Generic
IEnumerable
Boolean
The collection of bool values.
Return Value
Type:
UInt32
Binary mask.
See Also
Reference
BinaryUtils Class
TouchScript.Utils Namespace