Class KeySensorActivationKeySwitchTestInteractive

java.lang.Object
Basic.development.KeySensorActivationKeySwitchTestInteractive

public class KeySensorActivationKeySwitchTestInteractive extends Object

A simple scene to show KeySensor functionality using Interactive Profile.

Related links: KeySensorActivationKeySwitchTestInteractive.java source, KeySensorActivationKeySwitchTestInteractive catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title KeySensorActivationKeySwitchTestInteractive.x3d
description A simple scene to show KeySensor functionality using Interactive Profile.
creator Mr. Philip Sand Hansel II, mr.phillip@home.com
translator Don Brutzman
created 8 July 2001
modified 20 October 2019
warning This won't work because there is no KeySensor implementation yet! Prototype script (written in Java) or native node support for KeySensor is needed.
warning enabled needs to be changed to exposedField once supported by Script capabilities
reference https://www.web3d.org/x3d/specification-2000july/part1/nodesDef.html#KeySensor
reference https://www.web3d.org/x3d/sai/javadoc/org/web3d/x3d/sai/Core/KeySensor.html
subject KeySensor Interactive Profile
identifier https://www.web3d.org/x3d/content/examples/Basic/development/KeySensorActivationKeySwitchTestInteractive.x3d
reference https://www.web3d.org/x3d/content/examples/Basic/ConformanceNist/Sensors/Keyboard/KeySensorActivationKeySwitchTestInteractive.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) is used to create Java source code from an original .x3d model.

  • Constructor Details

    • KeySensorActivationKeySwitchTestInteractive

      public KeySensorActivationKeySwitchTestInteractive()
      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:
      KeySensorActivationKeySwitchTestInteractive model
      See Also:
    • main

      public static void main(String[] args)
      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: