Class SerializedBitArrayUtilities
Serialisation of BitArray, Utility class
Namespace: UnityEditor.Rendering
Syntax
public static class SerializedBitArrayUtilities
Methods
ToSerializeBitArray128(SerializedProperty)
Convert to 128bit
Declaration
public static SerializedBitArray128 ToSerializeBitArray128(this SerializedProperty serializedProperty)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
Returns
Type | Description |
---|---|
SerializedBitArray128 | A SerializedBitArray128 |
ToSerializeBitArray16(SerializedProperty)
Convert to 16bit
Declaration
public static SerializedBitArray16 ToSerializeBitArray16(this SerializedProperty serializedProperty)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
Returns
Type | Description |
---|---|
SerializedBitArray16 | A SerializedBitArray16 |
ToSerializeBitArray256(SerializedProperty)
Convert to 256bit
Declaration
public static SerializedBitArray256 ToSerializeBitArray256(this SerializedProperty serializedProperty)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
Returns
Type | Description |
---|---|
SerializedBitArray256 | A SerializedBitArray256 |
ToSerializeBitArray32(SerializedProperty)
Convert to 32bit
Declaration
public static SerializedBitArray32 ToSerializeBitArray32(this SerializedProperty serializedProperty)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
Returns
Type | Description |
---|---|
SerializedBitArray32 | A SerializedBitArray32 |
ToSerializeBitArray64(SerializedProperty)
Convert to 64bit
Declaration
public static SerializedBitArray64 ToSerializeBitArray64(this SerializedProperty serializedProperty)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
Returns
Type | Description |
---|---|
SerializedBitArray64 | A SerializedBitArray64 |
ToSerializeBitArray8(SerializedProperty)
Convert to 8bit
Declaration
public static SerializedBitArray8 ToSerializeBitArray8(this SerializedProperty serializedProperty)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
Returns
Type | Description |
---|---|
SerializedBitArray8 | A SerializedBitArray8 |
TryGetSerializeBitArray128(SerializedProperty, out SerializedBitArray128)
Try convert to 128bit
Declaration
public static bool TryGetSerializeBitArray128(this SerializedProperty serializedProperty, out SerializedBitArray128 serializedBitArray)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
SerializedBitArray128 | serializedBitArray | Out SerializedBitArray128 |
Returns
Type | Description |
---|---|
Boolean | True if convertion was a success |
TryGetSerializeBitArray16(SerializedProperty, out SerializedBitArray16)
Try convert to 16bit
Declaration
public static bool TryGetSerializeBitArray16(this SerializedProperty serializedProperty, out SerializedBitArray16 serializedBitArray)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
SerializedBitArray16 | serializedBitArray | Out SerializedBitArray16 |
Returns
Type | Description |
---|---|
Boolean | True if convertion was a success |
TryGetSerializeBitArray256(SerializedProperty, out SerializedBitArray256)
Try convert to 256bit
Declaration
public static bool TryGetSerializeBitArray256(this SerializedProperty serializedProperty, out SerializedBitArray256 serializedBitArray)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
SerializedBitArray256 | serializedBitArray | Out SerializedBitArray256 |
Returns
Type | Description |
---|---|
Boolean | True if convertion was a success |
TryGetSerializeBitArray32(SerializedProperty, out SerializedBitArray32)
Try convert to 32bit
Declaration
public static bool TryGetSerializeBitArray32(this SerializedProperty serializedProperty, out SerializedBitArray32 serializedBitArray)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
SerializedBitArray32 | serializedBitArray | Out SerializedBitArray32 |
Returns
Type | Description |
---|---|
Boolean | True if convertion was a success |
TryGetSerializeBitArray64(SerializedProperty, out SerializedBitArray64)
Try convert to 64bit
Declaration
public static bool TryGetSerializeBitArray64(this SerializedProperty serializedProperty, out SerializedBitArray64 serializedBitArray)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
SerializedBitArray64 | serializedBitArray | Out SerializedBitArray64 |
Returns
Type | Description |
---|---|
Boolean | True if convertion was a success |
TryGetSerializeBitArray8(SerializedProperty, out SerializedBitArray8)
Try convert to 8bit
Declaration
public static bool TryGetSerializeBitArray8(this SerializedProperty serializedProperty, out SerializedBitArray8 serializedBitArray)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | serializedProperty | The SerializedProperty |
SerializedBitArray8 | serializedBitArray | Out SerializedBitArray8 |
Returns
Type | Description |
---|---|
Boolean | True if convertion was a success |