ShapeChildContentModel

Element Group Information

Model

(Appearance , (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 | 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 | ProtoInstance)) | (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 | ProtoInstance))

Used By

Complex Type X3DShapeNode
Elements ParticleSystem, Shape

Source

<xs:group name="ShapeChildContentModel">
  <xs:annotation>
    <xs:appinfo>ShapeChildContentModel is the child-node content model utilized by X3DShapeNode. ShapeChildContentModel can contain a single Appearance node and a single geometry node, in any order.</xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shape.html#Shapenodes"/>
  </xs:annotation>
  <xs:choice>
    <xs:sequence>
      <xs:element ref="Appearance">
        <xs:annotation>
          <xs:documentation>appearance</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:choice minOccurs="0">
        <xs:annotation>
          <xs:documentation>geometry</xs:documentation>
        </xs:annotation>
        <xs:group ref="GeometryContentModel"/>
        <xs:element ref="ProtoInstance">
          <xs:annotation>
            <xs:documentation>Appropriately typed substitution node</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:sequence>
    <xs:sequence>
      <xs:group ref="GeometryContentModel">
        <xs:annotation>
          <xs:documentation>geometry</xs:documentation>
        </xs:annotation>
      </xs:group>
      <xs:choice minOccurs="0">
        <xs:annotation>
          <xs:documentation>appearance</xs:documentation>
        </xs:annotation>
        <xs:element ref="Appearance"/>
        <xs:element ref="ProtoInstance">
          <xs:annotation>
            <xs:documentation>Appropriately typed substitution node</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:sequence>
    <xs:sequence>
      <xs:element ref="ProtoInstance">
        <xs:annotation>
          <xs:documentation>appearance or geometry</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:choice minOccurs="0">
        <xs:annotation>
          <xs:documentation>geometry or appearance</xs:documentation>
        </xs:annotation>
        <xs:group ref="GeometryContentModel">
          <xs:annotation>
            <xs:documentation>geometry</xs:documentation>
          </xs:annotation>
        </xs:group>
        <xs:element ref="Appearance">
          <xs:annotation>
            <xs:documentation>appearance</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element ref="ProtoInstance">
          <xs:annotation>
            <xs:documentation>Appropriately typed substitution node</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:sequence>
  </xs:choice>
</xs:group>