diagram | |||
properties |
|
||
children | fieldValue IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString | ||
used by |
|
||
annotation |
|
||
source | <xs:complexType name="X3DPrototypeInstance" abstract="true"> <xs:annotation> <xs:appinfo> <xs:element name="IS" type="SFNode" fixed="inputOutputField" default="IS"/> <xs:element name="metadata" type="SFNode" fixed="inputOutputField" default="X3DMetadataObject"/> <xs:attribute name="additionalInterface" type="xs:string" default="X3DNode"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> Base type for all prototype instances. Note that direct children nodes are disallowed, instead let fieldValue with type SFNode/MFNode contain them. Current practice is that, if desired, prototype authors must explicitly add the metadata SFNode field in the ProtoInterface. </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html#X3DPrototypeInstance"/> </xs:annotation> <xs:sequence> <xs:element ref="fieldValue" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="IS" minOccurs="0"/> <xs:group ref="ChildContentModelCore" minOccurs="0"> <xs:annotation> <xs:documentation>metadata</xs:documentation> </xs:annotation> </xs:group> </xs:sequence> <!-- Note slight naming variation in X3D Specification: the name for this abstract node interface does not end with 'Node'. --> </xs:complexType> |