The Quantum physics layer value used with LayerMask.  
 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 value used with LayerMask. 
◆ operator Int32()
  
  | 
        
          | static implicit Quantum.LayerValue.operator Int32 | ( | LayerValue | value | ) |  |  | inlinestatic | 
 
Cast a layer value to an integer. 
- Parameters
- 
  
  
 
 
◆ operator LayerValue()
  
  | 
        
          | static implicit Quantum.LayerValue.operator LayerValue | ( | Int32 | value | ) |  |  | inlinestatic | 
 
Cast a integer to a layer value. 
- Parameters
- 
  
  
 
 
◆ Serialize()
  
  | 
        
          | static void Quantum.LayerValue.Serialize | ( | void * | ptr, |  
          |  |  | FrameSerializer | serializer |  
          |  | ) |  |  |  | inlinestatic | 
 
Serializes a LayerValue into a FrameSerializer to write or read from a frame snapshot. 
- Parameters
- 
  
    | ptr | The pointer to the LayerValue. |  | serializer | The FrameSerializer instance into which the struct will be serialized. |  
 
 
 
◆ GetHashCode()
  
  | 
        
          | readonly override int Quantum.LayerValue.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.LayerValue.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. 
 
 
◆ Layer
      
        
          | Int32 Quantum.LayerValue.Layer | 
      
 
The layer stored on the frame.