element field
diagram x3d-3.0_p36.png
type extension of SceneGraphStructureStatement
properties
content complex
children FillProperties LineProperties Material ImageTexture MovieTexture MultiTexture PixelTexture MultiTextureTransform TextureTransform 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 LOD Script Sound VisibilitySensor CoordinateInterpolator2D PositionInterpolator2D StaticGroup TextureBackground EspduTransform ReceiverPdu SignalPdu TransmitterPdu GeoLocation GeoLOD GeoMetadata GeoOrigin GeoPositionInterpolator GeoTouchSensor GeoViewpoint HAnimHumanoid HAnimJoint HAnimSegment HAnimSite 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 GeoElevationGrid NurbsCurve NurbsPatchSurface NurbsSweptSurface NurbsSwungSurface NurbsTrimmedSurface Appearance Color ColorRGBA Coordinate CoordinateDouble FontStyle GeoCoordinate Normal TextureCoordinate Contour2D ContourPolyline2D NurbsTextureCoordinate
used by
elements ExternProtoDeclare ProtoInterface
complexType X3DScriptNode
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:NMTOKEN  required      
accessType  accessTypeNames  required      
type  fieldTypeName  required      
value  SFString        
appinfo  SFString        
documentation  SFString        
annotation
appinfo
<xs:element name="children" type="MFNode" default="X3DNode"/>
<xs:attribute name="componentName" type="xs:NMTOKEN" 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="componentName" type="xs:NMTOKEN" 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="http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#NodeAndFieldStatementSyntax"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="SceneGraphStructureStatement">
       
<xs:choice minOccurs="0" maxOccurs="unbounded">
         
<xs:group ref="SceneGraphFragmentContentModel"/>
       
</xs:choice>
       
<xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
       
<xs:attribute name="accessType" type="accessTypeNames" use="required"/>
       
<xs:attribute name="type" type="fieldTypeName" 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"/>

attribute field/@accessType
type accessTypeNames
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="accessTypeNames" use="required"/>

attribute field/@type
type fieldTypeName
properties
use required
facets
Kind Value Annotation
enumeration SFBool
enumeration MFBool
enumeration SFColor
enumeration MFColor
enumeration SFColorRGBA
enumeration MFColorRGBA
enumeration SFDouble
enumeration MFDouble
enumeration SFFloat
enumeration MFFloat
enumeration SFImage
enumeration MFImage
enumeration SFInt32
enumeration SFNode
enumeration MFNode
enumeration MFInt32
enumeration SFRotation
enumeration MFRotation
enumeration SFString
enumeration MFString
enumeration SFTime
enumeration MFTime
enumeration SFVec2d
enumeration MFVec2d
enumeration SFVec2f
enumeration MFVec2f
enumeration SFVec3d
enumeration MFVec3d
enumeration SFVec3f
enumeration MFVec3f
source <xs:attribute name="type" type="fieldTypeName" 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