Heilan X3D Browser

OscPlayback

Type

ChildNode.

Description

Used to play back a file of saved OSC data. When one of these is in a scene, it will play back the OSC events contained within the saved file, and send the events to the browser's OSC handler to pass on to the appropriate nodes.

Attributes

url SFString (input) Url of the file with the saved OSC data.

Example Use

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

		<OscPlayback url="test59_oscplayback.hosc"/>

		<GhostImage DEF="bob">
			<Transform translation="-1 0 -8">
				<Shape>
					<Appearance>
						<Material diffuseColor="1 0 0"/>
					</Appearance>
					<Box/>
				</Shape>
			</Transform>

			<Transform translation="2 0 -10">
				<Shape>
					<Appearance>
						<Material diffuseColor="0 0 1"/>
					</Appearance>
					<Box/>
				</Shape>
			</Transform>
		</GhostImage>
	</Scene>
</X3D>