Node: X3DViewpointNode

X3D: 3.3
Component: Navigation
Status:
experimental

Quick Links

➨ Fields

A node of node type X3DViewpointNode defines a specific location in the local coordinate system from which the user may view the scene.

HTML Encoding and Default Values

<X3DViewpointNode bind='false' description='""' farClippingPlane='-1' isActive='false' metadata='X3DMetadataObject' navigationInfo='null' nearClippingPlane='-1' viewAll='false' ></X3DViewpointNode>

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
bind SFBool false Core/X3DBindableNode Pushes/pops the node on/from the top of the bindable stack
description SFString "" Core/X3DBindableNode Description of the bindable node
farClippingPlane SFFloat -1 -1 or [0, inf] Specifies the far clipping plane, alias for zFar
isActive SFBool false Core/X3DBindableNode
metadata SFNode X3DMetadataObject Core/X3DNode Field to add metadata information
navigationInfo SFBool null Defines a dedicated NavigationInfo node for this X3DViewpointNode. The specified NavigationInfo node receives a set_bind TRUE event at the time when the parent node is bound and receives a set_bind FALSE at the time when the parent node is unbound.
nearClippingPlane SFFloat -1 -1 or [0, inf] Specifies the near clipping plane, alias for zNear
viewAll SFBool false When the viewAll field is set to TRUE or a viewpoint is bound with viewAll field TRUE, the current view is modified to change the centerOfRotation field to match center of the bounding box for the entire visible scene, and the orientation field is modified to aim at that point. Finally, the zoom position or fieldofview is adjusted to contain the entire scene in the current viewing window. If needed, the near and far clipping planes shall be adjusted to allow viewing the entire scene. When the value of the viewAll field is changed from TRUE to FALSE, no change in the current view occurs.