HTML Encoding and Default Values⤴
<Anchor
bboxCenter='0,0,0'
bboxColor='1, 1, 0'
bboxDisplay='false'
bboxMargin='0.01'
bboxSize='-1,-1,-1'
children='X3DChildNode'
description='[]'
metadata='X3DMetadataObject'
parameter='[]'
render='true'
url='[]'
visible='true'
></Anchor>
Inheritance⤴
- Core/X3DNode(18)
- Core/X3DChildNode(12)
- Grouping/X3DBoundedObject(3)
- Grouping/X3DGroupingNode(17)
- Anchor
Fields⤴
These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via
DOM functions (i.e., using
setAttribute("myFieldName", "myFieldValue")
and
getAttribute("myFieldName")
).
Name | Type | Default Value | Range | Inheritance | Standard | Description |
---|---|---|---|---|---|---|
bboxCenter | SFVec3f | 0,0,0 | [-inf, inf] | Grouping/X3DBoundedObject | Center of the bounding box | |
bboxColor | SFColor | 1, 1, 0 | Grouping/X3DBoundedObject | Color of the bounding box | ||
bboxDisplay | SFVec3f | false | Grouping/X3DBoundedObject | Flag to enable display of the bounding box | ||
bboxMargin | SFFloat | 0.01 | [-inf, inf] | Grouping/X3DBoundedObject | Size of additional margin around the bounding box scaled up by the diameter. | |
bboxSize | SFVec3f | -1,-1,-1 | [0, inf] or -1 | Grouping/X3DBoundedObject | Size of the bounding box | |
children | MFNode | X3DChildNode | Grouping/X3DGroupingNode | Grouping nodes have a field that contains a list of children nodes. Each grouping node defines a coordinate space for its children. This coordinate space is relative to the coordinate space of the node of which the group node is a child. Such a node is called a parent node. This means that transformations accumulate down the scene graph hierarchy. | ||
description | SFString | [] | The description field in the Anchor node specifies a textual description of the Anchor node. This may be used by browser-specific user interfaces that wish to present users with more detailed information about the Anchor. | |||
metadata | SFNode | X3DMetadataObject | Core/X3DNode | Field to add metadata information | ||
parameter | MFString | [] | 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. | |||
render | SFBool | true | Grouping/X3DBoundedObject | Flag to enable/disable rendering | ||
url | MFString | [] | 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. | |||
visible | SFBool | true | Grouping/X3DBoundedObject | Flag to enable/disable rendering, alias for render |