The Quantum physics layer mask used with LayerValue.
More...
|
| readonly override int | GetHashCode () |
| | Overrides the hash code generation of this type. More...
|
| |
|
| const int | SIZE = 4 |
| | The size of the component (or struct/type) in-memory inside the Frame data-buffers or stack (when passed as value parameter). Not related to the snapshot payload this occupies, which is bit-packed and compressed. More...
|
| |
The Quantum physics layer mask used with LayerValue.
◆ operator Int32()
| static implicit Quantum.LayerMask.operator Int32 |
( |
LayerMask |
mask | ) |
|
|
inlinestatic |
Cast a LayerMask struct to an integer.
- Parameters
-
◆ operator LayerMask()
| static implicit Quantum.LayerMask.operator LayerMask |
( |
Int32 |
mask | ) |
|
|
inlinestatic |
Case an integer to a LayerMask struct.
- Parameters
-
◆ Serialize()
| static void Quantum.LayerMask.Serialize |
( |
void * |
ptr, |
|
|
FrameSerializer |
serializer |
|
) |
| |
|
inlinestatic |
Serializes a LayerMask into a FrameSerializer to write or read from a frame snapshot.
- Parameters
-
| ptr | The pointer to the LayerMask. |
| serializer | The FrameSerializer instance into which the struct will be serialized. |
◆ GetHashCode()
| readonly override int Quantum.LayerMask.GetHashCode |
( |
| ) |
|
|
inline |
Overrides the hash code generation of this type.
- Returns
- A hash code of the current state of this instance.
◆ SIZE
| const int Quantum.LayerMask.SIZE = 4 |
|
static |
The size of the component (or struct/type) in-memory inside the Frame data-buffers or stack (when passed as value parameter). Not related to the snapshot payload this occupies, which is bit-packed and compressed.
◆ BitMask
| Int32 Quantum.LayerMask.BitMask |
The bit mask of the layer saved on the frame.