element Layer
diagram x3d-4.0_diagrams/x3d-4.0_p123.png
type extension of X3DLayerNode
properties
content complex
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Viewport 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
used by
element LayerSet
group SceneGraphFragmentContentModel
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.
               
objectType  MFString    "ALL"    
pickable  SFBool    true    
visible  SFBool    true    
containerField  xs:NMTOKEN    layers    
annotation
appinfo
<xs:element name="addChildren" type="MFNode" fixed="inputOnlyField" default="X3DChildNode"/>
<xs:element name="removeChildren" type="MFNode" fixed="inputOnlyField" default="X3DChildNode"/>
<xs:element name="children" type="MFNode" fixed="inputOutputField" default="X3DChildNode"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layering"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source <xs:element name="Layer">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="addChildren" type="MFNode" fixed="inputOnlyField" default="X3DChildNode"/>
     
<xs:element name="removeChildren" type="MFNode" fixed="inputOnlyField" default="X3DChildNode"/>
     
<xs:element name="children" type="MFNode" fixed="inputOutputField" default="X3DChildNode"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layering"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
   
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/layering.html#Layer"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DLayerNode">
       
<xs:choice minOccurs="0" maxOccurs="1">
         
<xs:sequence>
           
<xs:element ref="Viewport">
             
<xs:annotation>
               
<xs:documentation>viewport</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:group ref="ChildContentModel" minOccurs="0" maxOccurs="unbounded"/>
         
</xs:sequence>
         
<xs:sequence>
           
<xs:group ref="ChildContentModel"/>
           
<xs:element ref="Viewport" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>viewport</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:group ref="ChildContentModel" minOccurs="0" maxOccurs="unbounded"/>
         
</xs:sequence>
       
</xs:choice>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="layers"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute Layer/@containerField
type xs:NMTOKEN
properties
default layers
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="layers"/>


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