|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.media.j3d.VirtualUniverse
A VirtualUniverse object is the top-level container for all scene graphs. A virtual universe consists of a set of Locale objects, each of which has a high-resolution position within the virtual universe. An application or applet may have more than one VirtualUniverse objects, but many applications will need only one. Virtual universes are separate entities in that no node object may exist in more than one virtual universe at any one time. Likewise, the objects in one virtual universe are not visible in, nor do they interact with objects in, any other virtual universe.
A VirtualUniverse object defines methods to enumerate its Locale objects and to remove them from the virtual universe.
Locale
Constructor Summary | |
VirtualUniverse()
Constructs a new VirtualUniverse. |
Method Summary | |
java.util.Enumeration |
getAllLocales()
Returns the enumeration object of all locales in this virtual universe. |
static int |
getJ3DThreadPriority()
Retrieves that priority of Java 3D's threads. |
int |
numLocales()
Returns the number of locales. |
void |
removeAllLocales()
Removes all Locales and their associates branch graphs from this universe. |
void |
removeLocale(Locale locale)
Removes a Locale and its associates branch graphs from this universe. |
static void |
setJ3DThreadPriority(int priority)
Sets the priority of all Java 3D threads to the specified value. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public VirtualUniverse()
Method Detail |
public void removeLocale(Locale locale)
locale
- the Locale to be removed.public void removeAllLocales()
public java.util.Enumeration getAllLocales()
public int numLocales()
public static void setJ3DThreadPriority(int priority)
priority
- the new thread prioritypublic static int getJ3DThreadPriority()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |