abstract struct SF::Event::SensorEvent
- SF::Event::SensorEvent
- SF::Event
- Struct
- Value
- Object
Overview
Sensor event parameters (SensorChanged)
Direct Known Subclasses
Defined in:
window/obj.crConstructors
Instance Method Summary
- 
        #dup : SensorEvent
        
          Returns a shallow copy of this object. 
- 
        #type : Sensor::Type
        
          Type of the sensor 
- #type=(type : Sensor::Type)
- 
        #x : Float32
        
          Current value of the sensor on X axis 
- #x=(x : Number)
- 
        #y : Float32
        
          Current value of the sensor on Y axis 
- #y=(y : Number)
- 
        #z : Float32
        
          Current value of the sensor on Z axis 
- #z=(z : Number)
Instance methods inherited from struct SF::Event
  
  
    
      initialize
    initialize
    
  
    
  Constructor methods inherited from struct SF::Event
  
  
    
      new
    new
    
  
    
  
    
    
    
  
    
    
    
  
    
    
    
  
Constructor Detail
Instance Method Detail
        
        def dup : SensorEvent
        #
      
      
        
              Description copied from struct Value
            
          
          Returns a shallow copy of this object.
Because Value is a value type, this method returns self,
which already involves a shallow copy of this object because
value types are passed by value.