Anchor
Anchor is a Grouping node that can contain most nodes. Clicking Anchored geometry loads content specified by the url field. Loaded content completely replaces current content, if parameter is same window. Hint: insert a Shape node before adding geometry or Appearance.
Inheritance
Code
XML encoding
<Anchor description='' parameter='' url='' internallyHandledMimeTypes=''model/x3d+javascript' 'application/x-avalon-engine+binary' 'application/x-avalon-engine+vrml' 'application/x-avalon-engine+xml' 'model/x3d+ecmascript' 'image/x-mtd' 'image/x-mtd' 'image/x-mtd' 'model/osb' 'model/osb' 'model/osg' 'model/osg' 'model/vrml' 'model/vrml' 'model/vrml' 'model/vrml' 'model/vrml' 'model/x3d+binary' 'model/x3d+xml' 'model/x3d+xml' 'model/x3d+binary' 'model/x3d+binary' 'model/x3d+xml' 'model/x3d+vrml' 'model/x3d+vrml' 'model/x3d+vrml' 'model/x3d+xml' 'model/x3d+xml' 'model/x3d+xml' 'application/x-zip' ' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' logFeature='' />
Classic encoding
Anchor { description "" parameter [""] url [""] internallyHandledMimeTypes ["'model/x3d+javascript' 'application/x-avalon-engine+binary' 'application/x-avalon-engine+vrml' 'application/x-avalon-engine+xml' 'model/x3d+ecmascript' 'image/x-mtd' 'image/x-mtd' 'image/x-mtd' 'model/osb' 'model/osb' 'model/osg' 'model/osg' 'model/vrml' 'model/vrml' 'model/vrml' 'model/vrml' 'model/vrml' 'model/x3d+binary' 'model/x3d+xml' 'model/x3d+xml' 'model/x3d+binary' 'model/x3d+binary' 'model/x3d+xml' 'model/x3d+vrml' 'model/x3d+vrml' 'model/x3d+vrml' 'model/x3d+xml' 'model/x3d+xml' 'model/x3d+xml' 'application/x-zip' "] bboxCenter 0 0 0 bboxSize -1 -1 -1 render TRUE showBBox FALSE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
description | SFString | inputOutput | Text description to be displayed for action of this node. Hint: many XML tools substitute XML character references automatically if needed. Interchange profile hint: this field may be ignored. | |||
parameter | MFString | inputOutput | Passed parameter that signals web browser how to redirect url loading. Each string shall consist of "keyword=value" pairs. Hint: set parameter to target=_blank or target=_extern to load target url with a system-specific application. target=_self or target=_intern will open url in current x3d-browser window. Hint: set parameter to target=frame_name to load target url into another frame. Hint: Strings can have multiple values, so separate each string by quote marks. [ 'http://www.url1.org' 'http://www.url2.org' 'etc.' ]. Interchange profile hint: this field may be ignored. | |||
url | MFString | inputOutput | Address of replacement world, activated by clicking Anchor geometry. Hint: jump to a world's internal viewpoint by appending viewpoint name (e.g. #ViewpointName, someOtherCoolWorld.wrl#GrandTour). Hint: jump to a local viewpoint by only using viewpoint name (e.g. #GrandTour). Hint: Strings can have multiple values, so separate each string by quote marks [ 'http://www.url1.org' 'http://www.url2.org' 'etc.' ]. Hint: XML encoding for ' is ampersandquot; (a character entity). Warning: strictly match directory and filename capitalization for http links! Hint: can replace embedded blank(s) in url queries with %20 for each blank character. | |||
internallyHandledMimeTypes | MFString | inputOutput | 'model/x3d+javascript' 'application/x-avalon-engine+binary' 'application/x-avalon-engine+vrml' 'application/x-avalon-engine+xml' 'model/x3d+ecmascript' 'image/x-mtd' 'image/x-mtd' 'image/x-mtd' 'model/osb' 'model/osb' 'model/osg' 'model/osg' 'model/vrml' 'model/vrml' 'model/vrml' 'model/vrml' 'model/vrml' 'model/x3d+binary' 'model/x3d+xml' 'model/x3d+xml' 'model/x3d+binary' 'model/x3d+binary' 'model/x3d+xml' 'model/x3d+vrml' 'model/x3d+vrml' 'model/x3d+vrml' 'model/x3d+xml' 'model/x3d+xml' 'model/x3d+xml' 'application/x-zip' | MIME types the x3d-browser should try to open itself. | ||
children | MFNode | inputOutput | Node | field that contains a list of children nodes | ||
addChildren | MFNode | inputOnly | The addChildren event appends nodes to the children field of a grouping node. Any nodes passed to the addChildren inputOnly field that are already in the children list of the grouping node are ignored | |||
removeChildren | MFNode | inputOnly | The removeChildren event removes nodes from the children fieldof the grouping node . Any nodes in the removeChildren event that are not in the children list of the grouping node are ignored | |||
bboxCenter | SFVec3f | initializeOnly | 0 0 0 | Bounding box center: position offset from origin of local coordinate system. | ||
bboxSize | SFVec3f | initializeOnly | -1 -1 -1 | Bounding box size: automatically calculated, can be specified as an optimization or constraint. | ||
render | SFBool | inputOutput | TRUE | Flag to control the visibility of the node or subtree | ||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
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 | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |