element Switch
diagram x3d-4.0_diagrams/x3d-4.0_p237.png
type extension of X3DGroupingNode
properties
content complex
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Background ColorInterpolator CoordinateInterpolator DirectionalLight Group NavigationInfo NormalInterpolator OrientationInterpolator PositionInterpolator ScalarInterpolator Shape TimeSensor Transform Viewpoint WorldInfo Anchor BooleanFilter BooleanSequencer BooleanToggle BooleanTrigger CylinderSensor Inline IntegerSequencer IntegerTrigger KeySensor PlaneSensor PointLight ProximitySensor SphereSensor SpotLight StringSensor Switch TimeTrigger TouchSensor AudioClip Billboard Collision Fog LoadSensor LocalFog LOD Script Sound VisibilitySensor CoordinateInterpolator2D PositionInterpolator2D ClipPlane EaseInEaseOut LinePickSensor PickableGroup PointPickSensor PrimitivePickSensor VolumePickSensor SplinePositionInterpolator SplinePositionInterpolator2D SplineScalarInterpolator SquadOrientationInterpolator StaticGroup TextureProjector TextureProjectorParallel CADAssembly CADLayer CADPart OrthoViewpoint ViewpointGroup ColorChaser ColorDamper CoordinateChaser CoordinateDamper OrientationChaser OrientationDamper PositionChaser PositionChaser2D PositionDamper PositionDamper2D ScalarChaser ScalarDamper TexCoordChaser2D TexCoordDamper2D TextureBackground CollidableShape CollisionSensor RigidBodyCollection ParticleSystem TransformSensor IsoSurfaceVolumeData SegmentedVolumeData VolumeData Analyser AudioDestination BiquadFilter BufferAudioSource ChannelMerger ChannelSelector ChannelSplitter Convolver Delay DynamicsCompressor Gain ListenerPointSource MicrophoneSource OscillatorSource SpatialSound StreamAudioDestination StreamAudioSource WaveShaper EspduTransform ReceiverPdu SignalPdu TransmitterPdu DISEntityManager GeoLocation GeoLOD GeoMetadata GeoPositionInterpolator GeoProximitySensor GeoTouchSensor GeoViewpoint GeoTransform HAnimHumanoid HAnimJoint HAnimSegment HAnimSite HAnimMotion NurbsOrientationInterpolator NurbsPositionInterpolator NurbsSurfaceInterpolator NurbsSet ProtoInstance ROUTE ExternProtoDeclare ProtoDeclare IMPORT EXPORT
used by
elements HAnimHumanoid TransformSensor
groups ChildContentModelInteractive PickSensorGroupingNodeContentModel
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    
visible  SFBool    true    
whichChoice  derived by: SFInt32    -1    
containerField  containerFieldChoicesGroupLODShapeTransformSwitch    children    
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Grouping"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:element name="Switch">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Grouping"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/grouping.html#Switch"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DGroupingNode">
       
<xs:attribute name="whichChoice" default="-1">
         
<xs:simpleType>
           
<xs:restriction base="SFInt32">
             
<xs:minInclusive value="-1"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="containerField" type="containerFieldChoicesGroupLODShapeTransformSwitch" default="children"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute Switch/@whichChoice
type restriction of SFInt32
properties
default -1
facets
Kind Value Annotation
minInclusive -1
source <xs:attribute name="whichChoice" default="-1">
 
<xs:simpleType>
   
<xs:restriction base="SFInt32">
     
<xs:minInclusive value="-1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute Switch/@containerField
type containerFieldChoicesGroupLODShapeTransformSwitch
properties
default children
facets
Kind Value Annotation
enumeration children
appinfo
parent node has abstract type X3DGroupingNode
enumeration proxy
appinfo
parent node is Collision
enumeration rootNode
appinfo
parent node is GeoLOD
enumeration shape
appinfo
parent node is CADFace or CollidableShape
enumeration skin
appinfo
parent node is HAnimHumanoid
source <xs:attribute name="containerField" type="containerFieldChoicesGroupLODShapeTransformSwitch" default="children"/>


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