element ProtoBody
diagram x3d-3.1_diagrams/x3d-3.1_p126.png
type extension of SceneGraphStructureStatement
properties
content complex
children FillProperties LineProperties Material ComposedShader PackagedShader ProgramShader ComposedCubeMapTexture ComposedTexture3D ImageTexture ImageTexture3D MovieTexture MultiTexture PixelTexture GeneratedCubeMapTexture ImageCubeMapTexture 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 LocalFog LOD Script Sound VisibilitySensor CADAssembly CADLayer CADPart CoordinateInterpolator2D PositionInterpolator2D StaticGroup TextureBackground EspduTransform ReceiverPdu SignalPdu TransmitterPdu GeoLocation GeoLOD GeoMetadata 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 QuadSet IndexedQuadSet GeoElevationGrid NurbsCurve NurbsPatchSurface NurbsSweptSurface NurbsSwungSurface NurbsTrimmedSurface Appearance Color ColorRGBA Coordinate CoordinateDouble FontStyle GeoCoordinate Normal TextureCoordinate Contour2D ContourPolyline2D NurbsTextureCoordinate ROUTE ExternProtoDeclare ProtoDeclare IMPORT EXPORT GeoOrigin
used by
element ProtoDeclare
annotation
appinfo
<!-- ProtoBody can contain children nodes of any type, not just X3DChildNode -->
<xs:element name="children" type="MFNode" default="X3DNode"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
ProtoBody contains the definition nodes for new Prototype nodes.
source <xs:element name="ProtoBody">
 
<xs:annotation>
   
<xs:appinfo>
     
<!-- ProtoBody can contain children nodes of any type, not just X3DChildNode -->
     
<xs:element name="children" type="MFNode" default="X3DNode"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
ProtoBody contains the definition nodes for new Prototype nodes.
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#PrototypeAndFieldDeclarationSyntax"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="SceneGraphStructureStatement">
       
<xs:choice minOccurs="1" maxOccurs="unbounded">
         
<xs:group ref="SceneGraphFragmentWithPrototypeDeclarationsContentModel" maxOccurs="unbounded"/>
         
<!-- nested ProtoDeclares, ProtoInstances are allowed by specification. -->
         
<!-- LayerSet added in X3D version 3.2 -->
       
</xs:choice>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>


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