public class Figure27_2ProximitySensorDungeonSlidingDoors
extends java.lang.Object
A dungeon door that slides open when the ProximitySensor detects the viewer close enough. Later the doors close when the viewer moves out of range from the ProximitySensor.
Related links: Figure27_2ProximitySensorDungeonSlidingDoors.java source, Figure27_2ProximitySensorDungeonSlidingDoors catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.
meta tags | Document Metadata |
title | Figure27_2ProximitySensorDungeonSlidingDoors.x3d |
creator | Figure 27.2, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland |
reference | http://www.wiley.com/legacy/compbooks/vrml2sbk/ch27/27fig02.htm |
translator | Don Brutzman |
created | 26 October 2000 |
modified | 11 January 2014 |
description | A dungeon door that slides open when the ProximitySensor detects the viewer close enough. Later the doors close when the viewer moves out of range from the ProximitySensor. |
identifier | http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter27SensingVisibilityProximityCollision/Figure27_2ProximitySensorDungeonSlidingDoors.x3d |
generator | X3D-Edit 3.3, 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 to create Java source code from an .x3d
model.
Constructor and Description |
---|
Figure27_2ProximitySensorDungeonSlidingDoors()
Default constructor to create this object.
|
Modifier and Type | Method and Description |
---|---|
org.web3d.x3d.jsail.Core.X3DObject |
getX3dModel()
Provide a
shallow copy
of the X3D model.
|
void |
initialize()
Create and initialize the X3D model for this object.
|
static void |
main(java.lang.String[] args)
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
|
public Figure27_2ProximitySensorDungeonSlidingDoors()
public final void initialize()
public org.web3d.x3d.jsail.Core.X3DObject getX3dModel()
public static void main(java.lang.String[] args)
args
- array of input parameters, provided as argumentsCopyright ©2005-2019 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.