<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive'
version='3.0'
xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance'
xsd:noNamespaceSchemaLocation
='
https://www.web3d.org/specifications/x3d-3.0.xsd
'
>
<head>
</head>
<!--
-->
<Scene>
<WorldInfo title='ViewpointGroupExample.x3d'/>
<ExternProtoDeclare name='ViewpointGroup'
url='
"ViewpointGroupPrototype.x3d#ViewpointGroup" "https://www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupPrototype.x3d#ViewpointGroup" "ViewpointGroupPrototype.wrl#ViewpointGroup" "https://www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupPrototype.wrl#ViewpointGroup" '
>
<field name='children' type='MFNode' accessType='inputOutput'
appinfo='[Viewpoint | ViewpointGroup] only'
/>
<field name='description' type='SFString' accessType='inputOutput'
appinfo='Text description or navigation hint to be displayed for this ViewpointGroup.'
/>
<field name='displayed' type='SFBool' accessType='inputOutput'
appinfo='Whether this ViewpointGroup is displayed in current viewpoint list.'
/>
<field name='center' type='SFVec3f' accessType='inputOutput'
appinfo='Position offset from origin of local coordinate system.'
/>
<field name='radius' type='SFFloat' accessType='initializeOnly'
appinfo='[0..infinity) Radius in meters of Proximity box within which the ViewpointGroup is usable and displayed on the viewpoint list.'
/>
<field name='set_radius' type='SFFloat' accessType='inputOnly'
appinfo='[0..infinity) Radius in meters of Proximity box within which the ViewpointGroup is usable and displayed on the viewpoint list.'
/>
<field name='retainUserOffsets' type='SFBool' accessType='inputOutput'
appinfo='Whether viewpoint needs to retain (true) or rezero (false) any prior user navigation offsets from defined viewpoint position orientation.'
/>
</ExternProtoDeclare>
<Viewpoint description='inside scope: ViewpointGroup' position='0 0 5'/>
<Viewpoint description='outside scope: ViewpointGroup' position='0 0 12'/>
<ProtoInstance name='ViewpointGroup'>
<fieldValue name='description' value='first ViewpointGroup'/>
<fieldValue name='radius' value='8'/>
<fieldValue name='children'>
<Viewpoint description='level 1, viewpoint 1' position='0 0 6'/>
<Viewpoint description='level 1, viewpoint 2' position='0 0 5'/>
<ProtoInstance name='ViewpointGroup'>
<fieldValue name='description' value='second ViewpointGroup'/>
<fieldValue name='radius' value='8'/>
<fieldValue name='children'>
</fieldValue>
</ProtoInstance>
<Viewpoint description='level 1, viewpoint 3' position='0 0 5'/>
</fieldValue>
</ProtoInstance>
<Transform>
<Shape>
<Text string='"Select viewpoints" "in viewpoint list" "to test ViewpointGroup"'>
<FontStyle family='"SANS"' justify='"MIDDLE" "MIDDLE"' size='0.8'/>
</Text>
<Appearance>
<Material diffuseColor='0.8 0.4 0.2'/>
</Appearance>
</Shape>
</Transform>
</Scene>
</X3D>
<!--
-->
-->
<!--
Online at
https://www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupExampleIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupExample.x3d
-->
<!--
Color legend: X3D terminology
<X3dNode
field='value'/>
matches XML terminology
<XmlElement
attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
<ProtoInstance
name='ProtoName'>
<field
name='fieldName'/> </ProtoInstance>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->