element PeriodicWave
diagram x3d-4.0_diagrams/x3d-4.0_p173.png
type extension of X3DSoundNode
properties
content complex
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
element OscillatorSource
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.
               
description  SFString        
enabled  SFBool    true    
optionsReal  MFFloat        
optionsImag  MFFloat        
type  periodicWaveTypeChoices    SQUARE    
containerField  xs:NMTOKEN    periodicWave    
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Sound"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:element name="PeriodicWave">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Sound"/>
     
<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/sound.html#PeriodicWave"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DSoundNode">
       
<xs:attribute name="optionsReal" type="MFFloat"/>
       
<xs:attribute name="optionsImag" type="MFFloat"/>
       
<xs:attribute name="type" type="periodicWaveTypeChoices" default="SQUARE"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="periodicWave"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute PeriodicWave/@optionsReal
type MFFloat
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*,?\s*)*
source <xs:attribute name="optionsReal" type="MFFloat"/>

attribute PeriodicWave/@optionsImag
type MFFloat
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*,?\s*)*
source <xs:attribute name="optionsImag" type="MFFloat"/>

attribute PeriodicWave/@type
type periodicWaveTypeChoices
properties
default SQUARE
facets
Kind Value Annotation
enumeration SINE
appinfo
<xs:attribute name="alias" type="xs:string" default="sine"/>
                        X3D version of "sine" in Web Audio API.
                   
enumeration SQUARE
appinfo
<xs:attribute name="alias" type="xs:string" default="square"/>
                        X3D version of "square" in Web Audio API.
                   
enumeration SAWTOOTH
appinfo
<xs:attribute name="alias" type="xs:string" default="sawtooth"/>
                        X3D version of "sawtooth" in Web Audio API.
                   
enumeration TRIANGLE
appinfo
<xs:attribute name="alias" type="xs:string" default="triangle"/>
                        X3D version of "triangle" in Web Audio API.
                   
enumeration CUSTOM
appinfo
<xs:attribute name="alias" type="xs:string" default="custom"/>
                        X3D version of "custom" in Web Audio API.
                   
source <xs:attribute name="type" type="periodicWaveTypeChoices" default="SQUARE"/>

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


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