complexType X3DSoundSourceNode
diagram x3d-4.0_p352.png
type extension of X3DTimeDependentNode
properties
base X3DTimeDependentNode
abstract true
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
elements AudioClip MovieTexture
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referencable 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 XML stylesheets.
loop  SFBool    false    
pauseTime  SFTime    0    
appinfo
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Time"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
resumeTime  SFTime    0    
appinfo
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Time"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
startTime  SFTime    0    
stopTime  SFTime    0    
description  SFString        
pitch  derived by: SFFloat    1.0    
annotation
appinfo
<xs:attribute name="duration_changed" type="SFTime" fixed="outputOnlyField"/>
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Sound"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
Nodes implementing X3DSoundSourceNode are allowed as children of Sound node.
source <xs:complexType name="X3DSoundSourceNode" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="duration_changed" type="SFTime" fixed="outputOnlyField"/>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Sound"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
Nodes implementing X3DSoundSourceNode are allowed as children of Sound node.
</xs:appinfo>
   
<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/sound.html#X3DSoundSourceNode"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DTimeDependentNode">
     
<xs:attribute name="description" type="SFString"/>
     
<xs:attribute name="pitch" default="1.0">
       
<!-- type="SFFloatNonNegative" -->
       
<xs:simpleType>
         
<xs:restriction base="SFFloat">
           
<xs:minExclusive value="0"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:attribute>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

attribute X3DSoundSourceNode/@description
type SFString
source <xs:attribute name="description" type="SFString"/>

attribute X3DSoundSourceNode/@pitch
type restriction of SFFloat
properties
default 1.0
facets
Kind Value Annotation
minExclusive 0
source <xs:attribute name="pitch" default="1.0">
 
<!-- type="SFFloatNonNegative" -->
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minExclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>


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