complexType X3DShapeNode

diagram |
type | extension of X3DChildNode
properties |
base | X3DChildNode
abstract | true
children | IS 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 |
element | 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.
bboxCenter | SFVec3f |  | 0 0 0 |  |
bboxSize | bboxSizeType |  | -1 -1 -1 |  |
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/documents/specifications/19775-1/V3.3/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:extension> <!-- bboxDisplay, visible added in X3D version 4.0 --> </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"/>

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