element field
diagram x3d-4.0_diagrams/x3d-4.0_p78.png
type extension of X3DStatement
properties
content complex
children AcousticProperties FillProperties LineProperties PointProperties Material PhysicalMaterial UnlitMaterial TwoSidedMaterial ComposedShader PackagedShader ProgramShader ComposedCubeMapTexture ComposedTexture3D ImageTexture ImageTexture3D MovieTexture MultiTexture PixelTexture PixelTexture3D GeneratedCubeMapTexture ImageCubeMapTexture MultiTextureTransform TextureTransform TextureTransform3D TextureTransformMatrix3D MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Background ColorInterpolator CoordinateInterpolator DirectionalLight Group NavigationInfo NormalInterpolator OrientationInterpolator PositionInterpolator ScalarInterpolator Shape TimeSensor Transform Viewpoint WorldInfo Anchor BooleanFilter BooleanSequencer BooleanToggle BooleanTrigger CylinderSensor Inline IntegerSequencer IntegerTrigger KeySensor PlaneSensor PointLight ProximitySensor SphereSensor SpotLight StringSensor Switch TimeTrigger TouchSensor AudioClip Billboard Collision Fog LoadSensor LocalFog LOD Script Sound VisibilitySensor CoordinateInterpolator2D PositionInterpolator2D ClipPlane EaseInEaseOut LinePickSensor PickableGroup PointPickSensor PrimitivePickSensor VolumePickSensor SplinePositionInterpolator SplinePositionInterpolator2D SplineScalarInterpolator SquadOrientationInterpolator StaticGroup TextureProjector TextureProjectorParallel CADAssembly CADLayer CADPart OrthoViewpoint ViewpointGroup ColorChaser ColorDamper CoordinateChaser CoordinateDamper OrientationChaser OrientationDamper PositionChaser PositionChaser2D PositionDamper PositionDamper2D ScalarChaser ScalarDamper TexCoordChaser2D TexCoordDamper2D TextureBackground CollidableShape CollisionSensor RigidBodyCollection ParticleSystem TransformSensor IsoSurfaceVolumeData SegmentedVolumeData VolumeData Analyser AudioDestination BiquadFilter BufferAudioSource ChannelMerger ChannelSelector ChannelSplitter Convolver Delay DynamicsCompressor Gain ListenerPointSource MicrophoneSource OscillatorSource SpatialSound StreamAudioDestination StreamAudioSource WaveShaper EspduTransform ReceiverPdu SignalPdu TransmitterPdu DISEntityManager GeoLocation GeoLOD GeoMetadata GeoPositionInterpolator GeoProximitySensor GeoTouchSensor GeoViewpoint GeoTransform HAnimHumanoid HAnimJoint HAnimSegment HAnimSite HAnimMotion NurbsOrientationInterpolator NurbsPositionInterpolator NurbsSurfaceInterpolator NurbsSet ProtoInstance Box Cone Cylinder IndexedFaceSet IndexedLineSet IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet LineSet PointSet Sphere TriangleFanSet TriangleSet TriangleStripSet ElevationGrid Polyline2D Polypoint2D Rectangle2D TriangleSet2D Extrusion Text Arc2D ArcClose2D Circle2D Disk2D QuadSet IndexedQuadSet GeoElevationGrid NurbsCurve NurbsPatchSurface NurbsSweptSurface NurbsSwungSurface NurbsTrimmedSurface Appearance Color ColorRGBA Coordinate CoordinateDouble FontStyle ScreenFontStyle GeoCoordinate Normal TextureCoordinate Contour2D ContourPolyline2D NurbsTextureCoordinate Layer LayoutLayer Viewport BallJoint CollidableOffset CollisionCollection CollisionSpace Contact DoubleAxisHingeJoint MotorJoint RigidBody SingleAxisHingeJoint SliderJoint UniversalJoint
used by
elements ComposedShader ExternProtoDeclare PackagedShader ProtoInterface ShaderProgram
complexTypes X3DProgrammableShaderObject X3DScriptNode
attributes
Name  Type  Use  Default  Fixed  Annotation
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.
               
name  xs:NMTOKEN  required      
accessType  accessTypeChoices  required      
type  SFString  required      
value  SFString        
appinfo  SFString        
documentation  SFString        
annotation
appinfo
<xs:element name="children" type="MFNode" default="X3DNode"/>
<xs:attribute name="type" type="fieldTypeChoices"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
                Functional summary: a field statement defines an interface attribute or node.
                Each field statement can contain either attribute-value or node content.
           
source <xs:element name="field">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="children" type="MFNode" default="X3DNode"/>
     
<xs:attribute name="type" type="fieldTypeChoices"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
                Functional summary: a field statement defines an interface attribute or node.
                Each field statement can contain either attribute-value or node content.
           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#NodeAndFieldStatementSyntax"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DStatement">
       
<xs:choice minOccurs="0" maxOccurs="unbounded">
         
<xs:group ref="SceneGraphFragmentContentModel"/>
       
</xs:choice>
       
<xs:attribute name="name" type="xs:NMTOKEN" use="required">
         
<xs:annotation>
           
<xs:documentation source="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NameTyping"/>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="accessType" type="accessTypeChoices" use="required"/>
       
<xs:attribute name="type" type="SFString" use="required"/>
       
<xs:attribute name="value" type="SFString"/>
       
<xs:attribute name="appinfo" type="SFString"/>
       
<xs:attribute name="documentation" type="SFString"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute field/@name
type xs:NMTOKEN
properties
use required
source <xs:attribute name="name" type="xs:NMTOKEN" use="required">
 
<xs:annotation>
   
<xs:documentation source="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NameTyping"/>
 
</xs:annotation>
</xs:attribute>

attribute field/@accessType
type accessTypeChoices
properties
use required
facets
Kind Value Annotation
enumeration initializeOnly
appinfo
A field with accessType initializeOnly can be initialized, but cannot send or receive events.
enumeration inputOnly
appinfo
A field with accessType inputOnly cannot be initialized or included in a scene file, but can receive input event values via a ROUTE.
enumeration outputOnly
appinfo
A field with accessType outputOnly cannot be initialized or included in a scene file, but can send output event values via a ROUTE.
enumeration inputOutput
appinfo
A field with accessType inputOutput can be initialized, and can also send or receive events.
source <xs:attribute name="accessType" type="accessTypeChoices" use="required"/>

attribute field/@type
type SFString
properties
use required
source <xs:attribute name="type" type="SFString" use="required"/>

attribute field/@value
type SFString
source <xs:attribute name="value" type="SFString"/>

attribute field/@appinfo
type SFString
source <xs:attribute name="appinfo" type="SFString"/>

attribute field/@documentation
type SFString
source <xs:attribute name="documentation" type="SFString"/>


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