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

Class vrWebOverlay

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

Creates a 2d frame with html content.

Instance Methods
 
__init__(url)
The constructor of the vrWebOverlay class.
 
hide()
Hides the frame.
 
setFrame(x, y, w, h)
Sets the frame.
 
setOpacity(opacity)
Sets the opacity of the overlay.
 
setUrl(url)
Sets the url.
 
show()
Shows the frame.
 
toggleShow()
Toggles show/hide of the frame.

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__ = 152
Method Details

__init__(url)
(Constructor)

 

The constructor of the vrWebOverlay class.

Parameters:
  • url - url to load.
  • html (string)
Overrides: vrAEBase.vrAEBase.__init__

setFrame(x, y, w, h)

 

Sets the frame.

Parameters:
  • x (int) - x position.
  • y (int) - y position.
  • w (int) - width.
  • h (int) - height.

setOpacity(opacity)

 

Sets the opacity of the overlay.

Parameters:
  • opacity (float) - opacity (0 - 1).

setUrl(url)

 

Sets the url.

Parameters:
  • url (string) - url to load.