BrowserTexture
A BrowserTexture can be used to display a web browser. If the slots pointer and button1 are filled with valid values (e.g. from a TouchSensor node), it is possible to interact with the web browser.
Inheritance
Code
XML encoding
<BrowserTexture logFeature='' anisotropy='1' internalFormat='auto' pixelType='keep' pixelFormat='keep' pixelScale='1' repeatR='TRUE' magFilter='auto' repeatS='TRUE' repeatT='TRUE' compression='auto' minFilter='auto' envFunction='auto' autoScale='TRUE' envSource='auto' envMode='auto' envColor='1 1 1 1' triggerName='Timer' button1='false' alpha='1' enabled='TRUE' pointer='0 0' maskingColor='1 1 1 1' updateMode='auto' show='false' size='1024 768' delegateLinkHandling='FALSE' url='' />
Classic encoding
BrowserTexture {
logFeature [""]
anisotropy 1
internalFormat "auto"
pixelType "keep"
pixelFormat "keep"
pixelScale 1
repeatR TRUE
magFilter "auto"
repeatS TRUE
repeatT TRUE
compression "auto"
minFilter "auto"
envFunction "auto"
autoScale TRUE
envSource "auto"
envMode "auto"
envColor 1 1 1 1
triggerName "Timer"
button1 false
alpha 1
enabled TRUE
pointer 0 0
maskingColor 1 1 1 1
updateMode "auto"
show false
size 1024 768
delegateLinkHandling FALSE
url [""]
}
Interface
Filter: X3D only | Avalon only | All
| id | Name | DataType | PartType | Default | ValueType | Description |
|---|---|---|---|---|---|---|
| url | MFString | inputOutput | cdata | The location (i.e. URL) of the web site to be displayed. | ||
| link_changed | SFString | outputOnly | FALSE | If a link was clicked on the web page, the link_changed eventOut is updated with the new URL. | ||
| delegateLinkHandling | SFBool | inputOutput | FALSE | If TRUE, the texture's location is updated and it displays the web page of the link that was clicked. If FALSE, the current page is kept and only the clicked link in the link_changed eventOut is updated. | ||
| size | SFVec2f | inputOutput | 1024 768 | The size in pixel of the web view widget. | ||
| back | SFBool | inputOnly | Loads the previous document in the history list. | |||
| forward | SFBool | inputOnly | Loads the next document in the history list. | |||
| reload | SFBool | inputOnly | Reloads the current document. | |||
| stop | SFBool | inputOnly | Stops loading the document. | |||
| load_finished | SFBool | outputOnly | Event is sent when loading of the page is finished. | |||
| load_progress | SFInt32 | outputOnly | Event is sent when loading of an element is finished (0 - 100). | |||
| show | SFBool | inputOutput | false | If TRUE, the dialog form is shown in a separate window. | ||
| updateMode | SFString | inputOutput | auto | [auto, always, onInteraction, conservative] | Defines the update mode, always can handle time based content, but gets slow with many textures, onInteraction handles mouse-like events (default), and conservative only regards click-like events and widget updates. | |
| keyPress | SFString | inputOnly | To be used as key pressed event. | |||
| keyRelease | SFString | inputOnly | To be used as key released event. | |||
| pointer | SFVec2f | inputOutput | 0 0 | Position of the pointing device. | ||
| button1 | SFBool | inputOutput | false | If gets TRUE, process button1 pressed event (usually treated as left mouse button), else trigger release. | ||
| alpha | SFFloat | inputOutput | 1 | Texture alpha value. | ||
| enabled | SFBool | inputOutput | TRUE | Flag to enable/disable the update. | ||
| triggerName | SFString | initializeOnly | Timer | Name of the dynamic context-slot, which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOutput to the triggerSlot-eventInput Slot. | ||
| triggerSlot | SFTime | inputOnly | Slot which is used internally to connect a dynamic context-slot whose name is set by the triggerName value. It is used automatically to install a run-time environment trigger. | |||
| metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
| textureProperties | SFNode | initializeOnly | TextureProperties | Definition of a texture property set. When set, the corresponding fields like repeat etc of the texture itself are ignored. | ||
| image_changed | SFImage | outputOnly | sends a singe image on change | |||
| logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything |
