complexType X3DShapeNode
diagram x3d-4.0_diagrams/x3d-4.0_p378.png
type extension of X3DChildNode
properties
base X3DChildNode
abstract true
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString 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
used by
elements ParticleSystem Shape
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.
               
bboxCenter  SFVec3f    0 0 0    
bboxSize  bboxSizeType    -1 -1 -1    
bboxDisplay  SFBool    false    
castShadow  SFBool    true    
visible  SFBool    true    
annotation
appinfo
<xs:element name="appearance" type="SFNode" fixed="inputOutputField" default="X3DAppearanceNode"/>
<xs:element name="geometry" type="SFNode" fixed="inputOutputField" default="X3DGeometryNode"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
                Base type for all Shape nodes.
           
source <xs:complexType name="X3DShapeNode" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="appearance" type="SFNode" fixed="inputOutputField" default="X3DAppearanceNode"/>
     
<xs:element name="geometry" type="SFNode" fixed="inputOutputField" default="X3DGeometryNode"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
                Base type for all Shape nodes.
           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/shape.html#X3DShapeNode"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DChildNode">
     
<xs:group ref="ShapeChildContentModel" minOccurs="0"/>
     
<xs:attribute name="bboxCenter" type="SFVec3f" default="0 0 0"/>
     
<xs:attribute name="bboxSize" type="bboxSizeType" default="-1 -1 -1"/>
     
<xs:attribute name="bboxDisplay" type="SFBool" default="false"/>
     
<xs:attribute name="castShadow" type="SFBool" default="true"/>
     
<xs:attribute name="visible" type="SFBool" default="true"/>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

attribute X3DShapeNode/@bboxCenter
type SFVec3f
properties
default 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="bboxCenter" type="SFVec3f" default="0 0 0"/>

attribute X3DShapeNode/@bboxSize
type bboxSizeType
properties
default -1 -1 -1
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*((([+]?(((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*)|((\-1(\.(0)*)?([Ee][+-]?[0]+)?\s+){2}\-1(\.(0)*)?([Ee][+-]?[0]+)?)\s*)?
source <xs:attribute name="bboxSize" type="bboxSizeType" default="-1 -1 -1"/>

attribute X3DShapeNode/@bboxDisplay
type SFBool
properties
default false
source <xs:attribute name="bboxDisplay" type="SFBool" default="false"/>

attribute X3DShapeNode/@castShadow
type SFBool
properties
default true
source <xs:attribute name="castShadow" type="SFBool" default="true"/>

attribute X3DShapeNode/@visible
type SFBool
properties
default true
source <xs:attribute name="visible" type="SFBool" default="true"/>


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