Class MaterialTogglePrototype

java.lang.Object
Savage.Tools.Animation.MaterialTogglePrototype

public class MaterialTogglePrototype extends Object

Prototype definition for toggle-able Material node that can switch between 2 sets of material values, selectable at run time. This prototype also demonstrates why it is important that only the first node in a ProtoBody can render: so that it can serve as a special node type (such as Material).

Related links: Catalog page MaterialTogglePrototype, source MaterialTogglePrototype.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title MaterialTogglePrototype.x3d
description Prototype definition for toggle-able Material node that can switch between 2 sets of material values, selectable at run time. This prototype also demonstrates why it is important that only the first node in a ProtoBody can render: so that it can serve as a special node type (such as Material).
creator Don Brutzman and MV4205 class
created 29 April 2004
modified 28 November 2019
reference MaterialToggleExample.x3d
identifier https://savage.nps.edu/Savage/Tools/Animation/MaterialTogglePrototype.x3d
generator X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit
license ../../license.html
 

This program uses the X3D Java Scene Access Interface Library (X3DJSAIL). It has been produced using the X3dToJava.xslt stylesheet (version control) which is used to create Java source code from an original .x3d model.