element X3D
diagram x3d-3.0_diagrams/x3d-3.0_p144.png
type extension of SceneGraphStructureStatement
properties
content complex
children head Scene ds:Signature
attributes
Name  Type  Use  Default  Fixed  Annotation
version  x3dVersionChoices  required      
appinfo

Warning: version is required and must be specified in source document.
profile  profileNameChoices  required      
appinfo

Warning: profile is required and must be specified in source document.
annotation
appinfo
<xs:element name="head" type="SFNode" default="head"/>
<xs:element name="Scene" type="SFNode" default="Scene"/>
<!-- provide default value for API; explicit definition still required in XML documents to avoid assumption errors -->
<xs:attribute name="profile" type="profileNameChoices" default="Immersive"/>
<!-- provide default value for API; explicit definition still required in XML documents to avoid assumption errors -->
<xs:attribute name="version" type="x3dVersionChoices" default="3.3"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
X3D is the root node for an Extensible 3D (X3D) Graphics model.
source <xs:element name="X3D">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="head" type="SFNode" default="head"/>
     
<xs:element name="Scene" type="SFNode" default="Scene"/>
     
<!-- provide default value for API; explicit definition still required in XML documents to avoid assumption errors -->
     
<xs:attribute name="profile" type="profileNameChoices" default="Immersive"/>
     
<!-- provide default value for API; explicit definition still required in XML documents to avoid assumption errors -->
     
<xs:attribute name="version" type="x3dVersionChoices" default="3.3"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
X3D is the root node for an Extensible 3D (X3D) Graphics model.
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#Header"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="SceneGraphStructureStatement">
       
<xs:sequence>
         
<xs:element ref="head" minOccurs="0"/>
         
<xs:element ref="Scene"/>
         
<xs:element ref="ds:Signature" minOccurs="0"/>
       
</xs:sequence>
       
<xs:attribute name="version" type="x3dVersionChoices" use="required">
         
<xs:annotation>
           
<xs:appinfo>
Warning: version is required and must be specified in source document.
</xs:appinfo>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="profile" type="profileNameChoices" use="required">
         
<xs:annotation>
           
<xs:appinfo>
Warning: profile is required and must be specified in source document.
</xs:appinfo>
         
</xs:annotation>
       
</xs:attribute>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute X3D/@version
type x3dVersionChoices
properties
use required
facets
Kind Value Annotation
enumeration 3.0
appinfo
X3D version 3.0 approved by ISO in 2004.
annotation
appinfo

Warning: version is required and must be specified in source document.
source <xs:attribute name="version" type="x3dVersionChoices" use="required">
 
<xs:annotation>
   
<xs:appinfo>
Warning: version is required and must be specified in source document.
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute X3D/@profile
type profileNameChoices
properties
use required
facets
Kind Value Annotation
enumeration Core
appinfo
Core Profile includes no nodes and is provided as the basis for custom componentization. Allowed X3D statements for all profiles are: connect ExternProtoDeclare EXPORT field fieldValue IMPORT IS ProtoBody ProtoDeclare ProtoInterface ProtoInstance ROUTE X3D. Allowed X3D nodes for this profile are: MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString.
enumeration Interchange
appinfo
Interchange Profile equals the minimum subset of nodes needed to display lightweight compelling content. Allowed X3D nodes for this profile are: Appearance Background Box Color ColorInterpolator ColorRGBA Cone Coordinate CoordinateInterpolator Cylinder DirectionalLight Group ImageTexture IndexedFaceSet IndexedLineSet IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet LineSet Material MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString MultiTexture MultiTextureCoordinate MultiTextureTransform NavigationInfo Normal NormalInterpolator OrientationInterpolator PixelTexture PointSet PositionInterpolator ScalarInterpolator Shape Sphere TextureCoordinate TextureCoordinateGenerator TextureTransform TimeSensor Transform TriangleFanSet TriangleSet TriangleStripSet Viewpoint WorldInfo.
enumeration Interactive
appinfo
Interactive Profile adds interaction nodes (Anchor, KeySensor) to the minimum subset of nodes needed to display lightweight compelling content. Allowed X3D nodes for this profile are: Anchor Appearance Background BooleanFilter BooleanSequencer BooleanToggle BooleanTrigger Box Color ColorInterpolator ColorRGBA Cone Coordinate CoordinateInterpolator Cylinder CylinderSensor DirectionalLight ElevationGrid Group ImageTexture IndexedFaceSet IndexedLineSet IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet Inline IntegerSequencer IntegerTrigger KeySensor LineSet Material MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString MultiTexture MultiTextureCoordinate MultiTextureTransform NavigationInfo Normal NormalInterpolator OrientationInterpolator IndexedTriangleStripSet Inline IntegerSequencer IntegerTrigger KeySensor LineSet Material MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString MultiTexture MultiTextureCoordinate MultiTextureTransform NavigationInfo Normal NormalInterpolator OrientationInterpolator PixelTexture PlaneSensor PointLight PointSet PositionInterpolator ProximitySensor ScalarInterpolator Shape Sphere SphereSensor SpotLight StringSensor Switch TextureCoordinate TextureCoordinateGenerator TextureTransform TimeSensor TimeTrigger TouchSensor Transform TriangleFanSet TriangleSet TriangleStripSet Viewpoint VisibilitySensor WorldInfo.
enumeration Immersive
appinfo
Immersive Profile equals all of the nodes in the VRML97 Specification, plus various X3D node additions including KeySensor, StringSensor and Scene. Allowed X3D nodes for this profile are: Anchor Appearance AudioClip Background Billboard BooleanFilter BooleanSequencer BooleanToggle BooleanTrigger Box Collision Color ColorInterpolator ColorRGBA Cone Coordinate CoordinateInterpolator Cylinder CylinderSensor DirectionalLight ElevationGrid Extrusion Fog FontStyle Group ImageTexture IndexedFaceSet IndexedLineSet IndexedTriangleFan IndexedTriangleSet IndexedTriangleStripSet Inline IntegerSequencer IntegerTrigger KeySensor LineProperties LineSet LoadSensor LOD Material MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString MovieTexture MultiTexture MultiTextureCoordinate MultiTextureTransform NavigationInfo Normal NormalInterpolator OrientationInterpolator PixelTexture PlaneSensor PointLight PointSet Polyline2D Polypoint2D PositionInterpolator ProximitySensor Rectangle2D ScalarInterpolator Script Shape Sound Sphere SphereSensor SpotLight StringSensor Switch Text TextureCoordinate TextureCoordinateGenerator TextureTransform TimeSensor TimeTrigger TouchSensor TriangleFanSet TriangleSet TriangleSet2D TriangleStripSet Transform Viewpoint VisibilitySensor WorldInfo.
enumeration MPEG4Interactive
appinfo
MPEGInteractive Profile defines base interoperability with MPEG4 standards to a small subset of nodes needed to display lightweight compelling content. Allowed X3D nodes for this profile are: Anchor Appearance Background Box Color ColorInterpolator ColorRGBA Cone Coordinate CoordinateInterpolator Cylinder CylinderSensor DirectionalLight ElevationGrid Group ImageTexture IndexedFaceSet IndexedLineSet Inline LineSet Material MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString NavigationInfo NormalInterpolator OrientationInterpolator PixelTexture PlaneSensor PointLight PointSet PositionInterpolator ProximitySensor ScalarInterpolator Shape Sphere SphereSensor SpotLight Switch TextureCoordinate TextureTransform TimeSensor TouchSensor Transform Viewpoint WorldInfo.
enumeration Full
appinfo
The Full Profile corresponds to all Immersive X3D nodes plus all approved/implemented extensions. All X3D nodes and statements are allowed in this profile.
annotation
appinfo

Warning: profile is required and must be specified in source document.
source <xs:attribute name="profile" type="profileNameChoices" use="required">
 
<xs:annotation>
   
<xs:appinfo>
Warning: profile is required and must be specified in source document.
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>


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