Heilan X3D Browser

StarCubes

Type

ParentNode, to be used with a child AudioClip node.

Description

Consists of five nodes, the size of which is controlled by the amplitude envelope of the accompanying AudioClip. For four of the cubes, their radius from the centre cube is also controlled by the amplitude envelope.

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 ">
			<StarCubes>
				<Appearance>
					<Material diffuseColor="0.2 0.2 0.2 "/>
				</Appearance>
				<AudioClip url="SineThing2.wav"/>
			</StarCubes>
		</Transform>
	</Scene>
</X3D>