Heilan X3D Browser

SparkParticles

Type

ChildNode

Description

A particle generator tweaked to try and make it look like sparks.

Attributes

numParticles SFInt32 (input) How many particles may be visible at any one time.

colour SFVec3f (input) The colour of the particles.

Example Use

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

		<Background skyColor="0 0 0" skyAngle="0" groundColor="0 0 0" groundAngle="0"/>

		<Billboard>
			<Transform translation="0 0 -4">
				<SparkParticles DEF="bob" colour="0.35 0.35 1"/>
			</Transform>
		</Billboard>
	</Scene>
</X3D>