complexType X3DViewpointNode
diagram x3d-4.0_diagrams/x3d-4.0_p399.png
type extension of X3DBindableNode
properties
base X3DBindableNode
abstract true
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString NavigationInfo
used by
elements GeoViewpoint OrthoViewpoint Viewpoint
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

                    DEF defines a unique ID name for each node, referenceable by other nodes.
               
USE  xs:IDREF        
appinfo

                    USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
               
class  xs:NMTOKENS        
appinfo

                    The class attribute is a space-separated list of classes, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
id  xs:NMTOKEN        
appinfo

                    The id attribute is a unique identifier, reserved for use by HTML5/DOM pages, independent of DEF labeling and internal X3D node referencing.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
style  SFString        
appinfo

                    The style attribute provides an inline block of CSS for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
description  SFString        
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Navigation"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
jump  SFBool    true    
orientation  SFRotation    0 0 1 0    
retainUserOffsets  SFBool    false    
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Navigation"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
farDistance  SFFloat    -1    
nearDistance  SFFloat    -1    
viewAll  SFBool    false    
annotation
appinfo
<xs:attribute name="navigationInfo" type="SFNode" fixed="inputOutputField" default="NavigationInfo"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Navigation"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
                Node type X3DViewpointNode defines a specific location in the local coordinate system from which the user may view the scene,
                and also defines a viewpoint binding stack.
           
source <xs:complexType name="X3DViewpointNode" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="navigationInfo" type="SFNode" fixed="inputOutputField" default="NavigationInfo"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Navigation"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
                Node type X3DViewpointNode defines a specific location in the local coordinate system from which the user may view the scene,
                and also defines a viewpoint binding stack.
           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/navigation.html#X3DViewpointNode"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DBindableNode">
     
<xs:choice minOccurs="0" maxOccurs="1">
       
<xs:element ref="NavigationInfo">
         
<xs:annotation>
           
<xs:documentation>navigationInfo</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:choice>
     
<xs:attribute name="description" type="SFString">
       
<xs:annotation>
         
<xs:appinfo>
           
<xs:attribute name="componentName" type="componentNameChoices" fixed="Navigation"/>
           
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
         
</xs:appinfo>
       
</xs:annotation>
     
</xs:attribute>
     
<xs:attribute name="jump" type="SFBool" default="true"/>
     
<xs:attribute name="orientation" type="SFRotation" default="0 0 1 0"/>
     
<xs:attribute name="retainUserOffsets" type="SFBool" default="false">
       
<xs:annotation>
         
<xs:appinfo>
           
<xs:attribute name="componentName" type="componentNameChoices" fixed="Navigation"/>
           
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
         
</xs:appinfo>
       
</xs:annotation>
     
</xs:attribute>
     
<xs:attribute name="farDistance" type="SFFloat" default="-1"/>
     
<xs:attribute name="nearDistance" type="SFFloat" default="-1"/>
     
<xs:attribute name="viewAll" type="SFBool" default="false"/>
   
</xs:extension>
   
<!-- centerOfRotation and position fields are specified separately by Viewpoint, OrthoViewpoint and GeoViewpoint nodes since type is SFVec3f, SFVec3f and SFVec3d respectively -->
 
</xs:complexContent>
</xs:complexType>

attribute X3DViewpointNode/@description
type SFString
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Navigation"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:attribute name="description" type="SFString">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Navigation"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute X3DViewpointNode/@jump
type SFBool
properties
default true
source <xs:attribute name="jump" type="SFBool" default="true"/>

attribute X3DViewpointNode/@orientation
type SFRotation
properties
default 0 0 1 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){3}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="orientation" type="SFRotation" default="0 0 1 0"/>

attribute X3DViewpointNode/@retainUserOffsets
type SFBool
properties
default false
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Navigation"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:attribute name="retainUserOffsets" type="SFBool" default="false">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Navigation"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute X3DViewpointNode/@farDistance
type SFFloat
properties
default -1
source <xs:attribute name="farDistance" type="SFFloat" default="-1"/>

attribute X3DViewpointNode/@nearDistance
type SFFloat
properties
default -1
source <xs:attribute name="nearDistance" type="SFFloat" default="-1"/>

attribute X3DViewpointNode/@viewAll
type SFBool
properties
default false
source <xs:attribute name="viewAll" type="SFBool" default="false"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy