| diagram | ![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | extension of X3DSoundNode | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Analyser AudioClip AudioDestination BiquadFilter BufferAudioSource ChannelMerger ChannelSelector ChannelSplitter Convolver Delay DynamicsCompressor Gain ListenerPointSource MicrophoneSource MovieTexture OscillatorSource Sound SpatialSound StreamAudioDestination StreamAudioSource WaveShaper ProtoInstance | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| used by |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| annotation |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| source | <xs:element name="SpatialSound"> <xs:annotation> <xs:appinfo> <xs:element name="children" type="MFNode" fixed="inputOutputField" default="Analyser|AudioClip|AudioDestination|BiquadFilter|BufferAudioSource|ChannelMerger|ChannelSelector|ChannelSplitter|Convolver|Delay|DynamicsCompressor|Gain|ListenerPointSource|MicrophoneSource|MovieTexture|OscillatorSource|Sound|SpatialSound|StreamAudioDestination|StreamAudioSource|WaveShaper"/> <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#Sound"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DSoundNode"> <xs:group ref="AudioGraphContentModel" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>children inputs</xs:documentation> </xs:annotation> </xs:group> <xs:attribute name="coneInnerAngle" default="6.2832"> <xs:annotation> <xs:appinfo>range [0..2pi]</xs:appinfo> </xs:annotation> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> <xs:maxInclusive value="6.2832"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="coneOuterAngle" default="6.2832"> <xs:annotation> <xs:appinfo>range [0..2pi]</xs:appinfo> </xs:annotation> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> <xs:maxInclusive value="6.2832"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="coneOuterGain" type="SFFloat" default="0"/> <xs:attribute name="direction" type="SFVec3f" default="0 0 1"/> <xs:attribute name="distanceModel" type="distanceModelChoices" default="INVERSE"/> <xs:attribute name="dopplerEnabled" type="SFBool" default="false"/> <xs:attribute name="enableHRTF" type="SFBool" default="false"/> <xs:attribute name="gain" type="SFFloat" default="1"/> <xs:attribute name="intensity" type="unitIntervalType" default="1"/> <xs:attribute name="location" type="SFVec3f" default="0 0 0"/> <xs:attribute name="maxDistance" default="10000"> <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="referenceDistance" default="1"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="rolloffFactor" default="1"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="spatialize" type="SFBool" default="true"/> <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/> </xs:extension> <!--<xs:group ref="SoundChildContentModel" minOccurs="0"/>--> </xs:complexContent> </xs:complexType> </xs:element> |
| type | restriction of SFFloat | ||||||||||||
| properties |
|
||||||||||||
| facets |
|
||||||||||||
| annotation |
|
||||||||||||
| source | <xs:attribute name="coneInnerAngle" default="6.2832"> <xs:annotation> <xs:appinfo>range [0..2pi]</xs:appinfo> </xs:annotation> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> <xs:maxInclusive value="6.2832"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
| type | restriction of SFFloat | ||||||||||||
| properties |
|
||||||||||||
| facets |
|
||||||||||||
| annotation |
|
||||||||||||
| source | <xs:attribute name="coneOuterAngle" default="6.2832"> <xs:annotation> <xs:appinfo>range [0..2pi]</xs:appinfo> </xs:annotation> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> <xs:maxInclusive value="6.2832"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
| type | SFFloat | ||||||
| properties |
|
||||||
| facets |
|
||||||
| source | <xs:attribute name="coneOuterGain" type="SFFloat" default="0"/> |
| type | SFVec3f | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| source | <xs:attribute name="direction" type="SFVec3f" default="0 0 1"/> |
| type | distanceModelChoices | ||||||||||||||||||
| properties |
|
||||||||||||||||||
| facets |
|
||||||||||||||||||
| source | <xs:attribute name="distanceModel" type="distanceModelChoices" default="INVERSE"/> |
| type | SFBool | ||
| properties |
|
||
| source | <xs:attribute name="dopplerEnabled" type="SFBool" default="false"/> |
| type | SFBool | ||
| properties |
|
||
| source | <xs:attribute name="enableHRTF" type="SFBool" default="false"/> |
| type | SFFloat | ||||||
| properties |
|
||||||
| facets |
|
||||||
| source | <xs:attribute name="gain" type="SFFloat" default="1"/> |
| type | unitIntervalType | ||||||||||||
| properties |
|
||||||||||||
| facets |
|
||||||||||||
| source | <xs:attribute name="intensity" type="unitIntervalType" default="1"/> |
| type | SFVec3f | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| source | <xs:attribute name="location" type="SFVec3f" default="0 0 0"/> |
| type | restriction of SFFloat | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| source | <xs:attribute name="maxDistance" default="10000"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
| type | unitIntervalType | ||||||||||||
| properties |
|
||||||||||||
| facets |
|
||||||||||||
| source | <xs:attribute name="priority" type="unitIntervalType" default="0"/> |
| type | restriction of SFFloat | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| source | <xs:attribute name="referenceDistance" default="1"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
| type | restriction of SFFloat | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| source | <xs:attribute name="rolloffFactor" default="1"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
| type | SFBool | ||
| properties |
|
||
| source | <xs:attribute name="spatialize" type="SFBool" default="true"/> |
| type | xs:NMTOKEN | ||
| properties |
|
||
| source | <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/> |