element ProtoBody
diagram x3d-3.2_diagrams/x3d-3.2_p166.png
type extension of SceneGraphStructureStatement
properties
content complex
children FillProperties LineProperties Material TwoSidedMaterial ComposedShader PackagedShader ProgramShader ComposedCubeMapTexture ComposedTexture3D ImageTexture ImageTexture3D MovieTexture MultiTexture PixelTexture PixelTexture3D GeneratedCubeMapTexture ImageCubeMapTexture MultiTextureTransform TextureTransform TextureTransform3D TextureTransformMatrix3D 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 CADAssembly CADLayer CADPart OrthoViewpoint ViewpointGroup ColorDamper CoordinateDamper OrientationChaser OrientationDamper PositionChaser PositionChaser2D PositionDamper PositionDamper2D ScalarChaser TexCoordDamper2D TextureBackground CollidableShape CollisionSensor RigidBodyCollection ParticleSystem TransformSensor EspduTransform ReceiverPdu SignalPdu TransmitterPdu DISEntityManager GeoLocation GeoLOD GeoMetadata GeoPositionInterpolator GeoProximitySensor GeoTouchSensor GeoViewpoint GeoTransform 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 ScreenFontStyle GeoCoordinate Normal TextureCoordinate Contour2D ContourPolyline2D NurbsTextureCoordinate Layer LayoutLayer Viewport BallJoint CollidableOffset CollisionCollection CollisionSpace Contact DoubleAxisHingeJoint MotorJoint RigidBody SingleAxisHingeJoint SliderJoint UniversalJoint ROUTE ExternProtoDeclare ProtoDeclare IMPORT EXPORT GeoOrigin LayerSet
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. -->
         
<xs:element ref="LayerSet" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>At most one LayerSet can appear in a scene and must be a root node.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:choice>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>


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