summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaulby <[email protected]>2007-01-29 18:44:23 +0000
committerpaulby <[email protected]>2007-01-29 18:44:23 +0000
commit9df6d215cb4431fefdd2795c0cd434ffa04bc602 (patch)
treea9c5250b6d81af4f763fb41cbeca62ed218889f1
parentd4650d2a2e3df939a40c81274fc24122109af3d6 (diff)
Implement RFE 438
git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@149 9497e636-51bd-65ba-982d-a4982e1767a5
-rw-r--r--src/classes/share/com/sun/j3d/utils/universe/ConfiguredUniverse.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/classes/share/com/sun/j3d/utils/universe/ConfiguredUniverse.java b/src/classes/share/com/sun/j3d/utils/universe/ConfiguredUniverse.java
index bbf3766..12bf68a 100644
--- a/src/classes/share/com/sun/j3d/utils/universe/ConfiguredUniverse.java
+++ b/src/classes/share/com/sun/j3d/utils/universe/ConfiguredUniverse.java
@@ -254,6 +254,29 @@ public class ConfiguredUniverse extends SimpleUniverse {
}
/**
+ * Creates a Locale, a single ViewingPlatform with the specified number of
+ * transforms, and a Viewer object using the given array of Canvas3D
+ * instances.
+ *
+ * @param canvases the canvases to associate with the Viewer object;
+ * passing in null will cause this parameter to be ignored and a canvas
+ * to be created by the utility
+ * @param transformCount the number of transforms in the
+ * MultiTransformGroup object to be created
+ * @param localeFactory the factory object used to create the Locale
+ *
+ * @since Java 3D 1.5.1
+ *
+ * @see Locale
+ * @see Viewer
+ * @see ViewingPlatform
+ * @see MultiTransformGroup
+ */
+ public ConfiguredUniverse(Canvas3D[] canvases, int transformCount, LocaleFactory localeFactory ) {
+ this(transformCount, canvases, null, localeFactory, null, true);
+ }
+
+ /**
* Reads the configuration specified by the given URL to create a Locale,
* one or more ViewingPlatforms, and at least one Viewer object. The
* configuration file may also create InputDevice, Sensor, and