element ProtoBody
diagram x3d-4.0_diagrams/x3d-4.0_p196.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 ROUTE ExternProtoDeclare ProtoDeclare IMPORT EXPORT GeoOrigin LayerSet
used by
element ProtoDeclare
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.
               
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="X3DStatement">
       
<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