Class Figure27_1VisibilitySensorDungeonSlidingDoors
A dungeon door that slides open when visible, and slides closed when not visible. When you are look away from the door it goes shut, then it reopens when you look back. Page up/down between the first two viewpoints to observe this behavior. Arrow keys also help you peek left/right. Interesting side effect: users can't back up through the closed door.
Related links: Catalog page Figure27_1VisibilitySensorDungeonSlidingDoors, source Figure27_1VisibilitySensorDungeonSlidingDoors.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.
meta tags | Document Metadata |
title | Figure27_1VisibilitySensorDungeonSlidingDoors.x3d |
creator | Figure 27.1, 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/27fig01.htm |
translator | Don Brutzman |
created | 26 October 2000 |
modified | 20 October 2019 |
Image | Figure27_1VisibilitySensorDungeonSlidingDoors.png |
description | A dungeon door that slides open when visible, and slides closed when not visible. When you are look away from the door it goes shut, then it reopens when you look back. Page up/down between the first two viewpoints to observe this behavior. Arrow keys also help you peek left/right. Interesting side effect: users can't back up through the closed door. |
identifier | https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter27SensingVisibilityProximityCollision/Figure27_1VisibilitySensorDungeonSlidingDoors.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
(version control)
which is used to create Java source code from an original .x3d
model.
-
Constructor Summary
ConstructorDescriptionDefault constructor to create this object. -
Method Summary
Modifier and TypeMethodDescriptionorg.web3d.x3d.jsail.Core.X3D
Provide a shallow copy of the X3D model.final void
Create and initialize the X3D model for this object.static void
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
-
Constructor Details
-
Figure27_1VisibilitySensorDungeonSlidingDoors
public Figure27_1VisibilitySensorDungeonSlidingDoors()Default constructor to create this object.
-
-
Method Details
-
initialize
public final void initialize()Create and initialize the X3D model for this object. -
getX3dModel
public org.web3d.x3d.jsail.Core.X3D getX3dModel()Provide a shallow copy of the X3D model.- Returns:
- Figure27_1VisibilitySensorDungeonSlidingDoors model
- See Also:
-
main
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.- Parameters:
args
- array of input parameters, provided as arguments- See Also:
-