Module vrTouchSensor :: Class vrTouchSensor
[frames] | no frames]

Class vrTouchSensor

   object --+        
            |        
  ??.instance --+    
                |    
vrAEBase.vrAEBase --+
                    |
                   vrTouchSensor

TouchSensor.

Instance Methods
 
__init__(node)
The constructor of the vrTouchSensor class.
bool
isEnabled()
Returns the enabled state of the TouchSensor.
 
setEnabled(state)
Enables or disables the TouchSensor.

Inherited from vrAEBase.vrAEBase: __reduce__, addLoop, callAllConnected, connect, connectSignal, emitSignal, getModuleName, isActive, loop, recEvent, removeConnections, setActive, setUpdateGUIEnabled, subLoop

Inherited from unreachable.instance: __new__

Class Variables
  __instance_size__ = 128
Method Details

__init__(node)
(Constructor)

 

The constructor of the vrTouchSensor class.

Parameters:
  • node (NodePtr) - The touch sensor scene graph node.
Overrides: vrAEBase.vrAEBase.__init__

isEnabled()

 

Returns the enabled state of the TouchSensor.

Returns: bool
TouchSensor: On/Off.

setEnabled(state)

 

Enables or disables the TouchSensor.

Parameters:
  • state (bool) - TouchSensor: On/Off.