|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.util.UserSupplementData
public class UserSupplementData
A generic holder for the various forms of data that would be stored in a Java3D node's userData.
This library makes heavy use of the userData system provided by the core Java3D nodes. The types are varied and often more than one part of this API (or end-applications derived from this API) want to make use of it, and they clash.
Several of the APIs within this codebase assume the existance of this class for processing. If you don't provide it and start replacing it with your own structure, things can and will break. If your application is making use of user data as well, it is highly recommended that you extend this class and add extra information as fields.
Field Summary | |
---|---|
boolean |
collidable
Flag to say whether this object or group is eligible for use in collision detection and avoidance routines. |
java.lang.Object |
geometryData
Geometry data that could be used as the source of terrain following or collision detection. |
boolean |
isTerrain
Flag to say whether this object or group is eligible for use in terrain following routines. |
java.lang.Object |
userData
Generic user data. |
Constructor Summary | |
---|---|
UserSupplementData()
Construct a new instance of the data. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Object geometryData
GeometryData
and
HeightDataSource
.
public boolean collidable
public boolean isTerrain
public java.lang.Object userData
Constructor Detail |
---|
public UserSupplementData()
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |