element ProtoInstance
diagram x3d-4.0_diagrams/x3d-4.0_p198.png
type extension of X3DPrototypeInstance
properties
content complex
children fieldValue IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
elements BlendedVolumeStyle BoundedPhysicsModel CADFace CADPart CartoonVolumeStyle CollidableOffset CollidableShape CollisionCollection CollisionSensor CollisionSpace ComposedCubeMapTexture ComposedShader ComposedTexture3D ComposedVolumeStyle Contact Contour2D DISEntityManager EdgeEnhancementVolumeStyle ElevationGrid GeneratedCubeMapTexture GeoMetadata HAnimHumanoid HAnimJoint ImageCubeMapTexture IsoSurfaceVolumeData LayerSet LinePickSensor Material MetadataSet MultiTexture MultiTextureCoordinate MultiTextureTransform NurbsCurve NurbsOrientationInterpolator NurbsPatchSurface NurbsPositionInterpolator NurbsSet NurbsSurfaceInterpolator NurbsSweptSurface NurbsSwungSurface NurbsTrimmedSurface OpacityMapVolumeStyle ParticleSystem PhysicalMaterial PickableGroup PointPickSensor PolylineEmitter PrimitivePickSensor SegmentedVolumeData ShadedVolumeStyle SilhouetteEnhancementVolumeStyle SurfaceEmitter ToneMappedVolumeStyle TransformSensor UnlitMaterial ViewpointGroup VolumeData VolumeEmitter VolumePickSensor
complexTypes X3DTexture2DNode X3DTexture3DNode X3DTextureProjectorNode
groups AppearanceChildContentModel AudioGraphContentModel ChildContentModelProtoInstance ColorCoordinateContentModel ColorCoordinateNormalTexCoordContentModel ColorNormalTexCoordContentModel ComposedGeometryContentModel RigidBodyCollectionContentModel RigidBodyContentModel RigidJointNodeContentModel ShapeChildContentModel SoundChildContentModel TextChildContentModel TextureBackgroundChildContentModel
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

                    DEF defines a unique ID name for each node, referenceable by other nodes.
               
USE  xs:IDREF        
appinfo

                    USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
               
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        
appinfo
name attribute is ordinarily required, unless this is a USE node
containerField  xs:NMTOKEN    children    
annotation
appinfo
<xs:element name="fieldValue" type="MFNode" default="fieldValue"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DChildNode"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
                ProtoInstance can override field default values via fieldValue initializations.
                Non-recursive nested ProtoInstance and ProtoDeclare statements are allowed within a ProtoDeclare.
           
source <xs:element name="ProtoInstance">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="fieldValue" type="MFNode" default="fieldValue"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DChildNode"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
                ProtoInstance can override field default values via fieldValue initializations.
                Non-recursive nested ProtoInstance and ProtoDeclare statements are allowed within a ProtoDeclare.
           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#ProtoInstanceAndFieldValueStatement"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DPrototypeInstance">
       
<xs:attributeGroup ref="DEF_USE"/>
       
<xs:attributeGroup ref="globalAttributes"/>
       
<xs:attribute name="name" type="xs:NMTOKEN">
         
<xs:annotation>
           
<xs:appinfo>name attribute is ordinarily required, unless this is a USE node</xs:appinfo>
           
<!-- Design note: cannot REQUIRE @name field or else USE nodes incorrectly fail to validate -->
           
<xs:documentation source="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NameTyping"/>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute ProtoInstance/@name
type xs:NMTOKEN
annotation
appinfo
name attribute is ordinarily required, unless this is a USE node
source <xs:attribute name="name" type="xs:NMTOKEN">
 
<xs:annotation>
   
<xs:appinfo>name attribute is ordinarily required, unless this is a USE node</xs:appinfo>
   
<!-- Design note: cannot REQUIRE @name field or else USE nodes incorrectly fail to validate -->
   
<xs:documentation source="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NameTyping"/>
 
</xs:annotation>
</xs:attribute>

attribute ProtoInstance/@containerField
type xs:NMTOKEN
properties
default children
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>


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