Heilan X3D Browser

AmpCube

Type

ParentNode, to be used with a child AudioClip node.

Description

A cube whose size is controlled by the amplitude of an associated AudioClip node.

Attributes

maxBack SFFloat (input) The same as Sound's maxBack attribute.

maxFront SFFloat (input) The same as Sound's maxFront attribute.

minBack SFFloat (input) The same as Sound's minBack attribute.

minFront SFFloat (input) The same as Sound's minFront attribute.

Example Use

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE X3D>
<X3D profile="Full">
	<Scene>
		<NavigationInfo type="ANY"/>

		<Transform translation="0.0 0.0 -8.0 ">
			<AmpCube>
				<Appearance>
					<Material diffuseColor="1.0 0.0 0.0"/>
				</Appearance>
				<AudioClip url="SineThing2.wav"/>
			</AmpCube>
		</Transform>
	</Scene>
</X3D>