element Sound
diagram x3d-3.0_diagrams/x3d-3.0_p120.png
type extension of X3DSoundNode
properties
content complex
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString AudioClip MovieTexture ProtoInstance
used by
group ChildContentModelImmersive
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.
direction  SFVec3f    0 0 1    
intensity  unitIntervalType    1    
location  SFVec3f    0 0 0    
maxBack  derived by: SFFloat    10    
maxFront  derived by: SFFloat    10    
minBack  derived by: SFFloat    1    
minFront  derived by: SFFloat    1    
priority  unitIntervalType    0    
spatialize  SFBool    true    
containerField  xs:NMTOKEN    children    
annotation
appinfo
<xs:element name="source" type="SFNode" fixed="inputOutputField" default="X3DSoundSourceNode"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Sound"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source <xs:element name="Sound">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="source" type="SFNode" fixed="inputOutputField" default="X3DSoundSourceNode"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Sound"/>
     
<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/sound.html#Sound"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DSoundNode">
       
<xs:group ref="SoundChildContentModel" minOccurs="0"/>
       
<xs:attribute name="direction" type="SFVec3f" default="0 0 1"/>
       
<xs:attribute name="intensity" type="unitIntervalType" default="1"/>
       
<xs:attribute name="location" type="SFVec3f" default="0 0 0"/>
       
<xs:attribute name="maxBack" default="10">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="maxFront" default="10">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="minBack" default="1">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="minFront" default="1">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="priority" type="unitIntervalType" default="0"/>
       
<xs:attribute name="spatialize" type="SFBool" default="true"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute Sound/@direction
type SFVec3f
properties
default 0 0 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*
source <xs:attribute name="direction" type="SFVec3f" default="0 0 1"/>

attribute Sound/@intensity
type unitIntervalType
properties
default 1
facets
Kind Value Annotation
minInclusive 0
maxInclusive 1
source <xs:attribute name="intensity" type="unitIntervalType" default="1"/>

attribute Sound/@location
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="location" type="SFVec3f" default="0 0 0"/>

attribute Sound/@maxBack
type restriction of SFFloat
properties
default 10
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="maxBack" default="10">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute Sound/@maxFront
type restriction of SFFloat
properties
default 10
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="maxFront" default="10">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute Sound/@minBack
type restriction of SFFloat
properties
default 1
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="minBack" default="1">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute Sound/@minFront
type restriction of SFFloat
properties
default 1
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="minFront" default="1">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute Sound/@priority
type unitIntervalType
properties
default 0
facets
Kind Value Annotation
minInclusive 0
maxInclusive 1
source <xs:attribute name="priority" type="unitIntervalType" default="0"/>

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

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


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