element Layer
diagram x3d-3.3_diagrams/x3d-3.3_p110.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 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 EspduTransform ReceiverPdu SignalPdu TransmitterPdu DISEntityManager GeoLocation GeoLOD GeoMetadata GeoPositionInterpolator GeoProximitySensor GeoTouchSensor GeoViewpoint GeoTransform HAnimHumanoid HAnimJoint HAnimSegment HAnimSite 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.
isPickable  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/documents/specifications/19775-1/V3.3/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