|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.Node
org.xith3d.scenegraph.Leaf
org.xith3d.scenegraph.Shape3D
org.xith3d.scenegraph.primitives.Box
org.xith3d.scenegraph.primitives.Cube
public class Cube
A simple Cube.
| Field Summary |
|---|
| Fields inherited from class org.xith3d.scenegraph.Node |
|---|
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, parent, transformGroup, untransformedBounds |
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
Cube(Appearance app)
Builds a Cube. |
|
Cube(org.openmali.vecmath2.Colorf color)
Builds a Cube. |
|
Cube(float size)
Builds a Cube. |
|
Cube(float size,
Appearance app)
Builds a Cube. |
|
Cube(float size,
org.openmali.vecmath2.Colorf color)
Builds a Cube. |
|
Cube(float size,
int features,
boolean colorAlpha,
int texCoordsSize)
Builds a Cube. |
|
Cube(float size,
java.lang.String texture)
Builds a Cube. |
|
Cube(float size,
Texture texture)
Builds a Cube. |
|
Cube(java.lang.String texture)
Builds a Cube. |
|
Cube(Texture texture)
Builds a Cube. |
|
| Method Summary | |
|---|---|
static GeometryConstruct |
createGeometryConstructTA(float offsetX,
float offsetY,
float offsetZ,
float size,
int features,
boolean colorAlpha,
int texCoordsSize)
|
static GeometryConstruct |
createGeometryConstructTA(float size,
int features,
boolean colorAlpha,
int texCoordsSize)
|
static TriangleArray |
createGeometryTA(float offsetX,
float offsetY,
float offsetZ,
float size,
int features,
boolean colorAlpha,
int texCoordsSize)
|
static TriangleArray |
createGeometryTA(float size,
int features,
boolean colorAlpha,
int texCoordsSize)
|
| Methods inherited from class org.xith3d.scenegraph.primitives.Box |
|---|
createFromBoxBody, createFromBoxBody, createFromBoxBody, createFromBoxBody, createFromBoxBody, createGeometry, createGeometry, createGeometryConstructTA, createGeometryConstructTA, createGeometryTA, getGeometryConstructionTypeHint, setGeometryConstructionTypeHint |
| Methods inherited from class org.xith3d.scenegraph.Shape3D |
|---|
absorbDetails, freeOpenGLResources, getAppearance, getAppearance, getGeometry, isBumpMappingEnabled, isShadowReceiver, isVisible, newAppearance, setAppearance, setBounds, setBumpMappingEnabled, setBumpMappingEnabled, setGeometry, setIsShadowReceiver, setLive, setModListener, setVisible, sharedCopy, sharedCopy, traverse, updateBounds, updateBoundsCheap, updateWorldTransform, verifyAppChange |
| Methods inherited from class org.xith3d.scenegraph.Leaf |
|---|
dump, getPickHost, setPickHost |
| Methods inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
getName, getUserData, getUserData, getUserDataMap, isLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Cube(float size,
int features,
boolean colorAlpha,
int texCoordsSize)
size - features - GeomatryArray featurespublic Cube(float size)
size -
public Cube(float size,
Texture texture)
size - texture - public Cube(Texture texture)
texture -
public Cube(float size,
java.lang.String texture)
size - texture - public Cube(java.lang.String texture)
texture -
public Cube(float size,
org.openmali.vecmath2.Colorf color)
size - color - public Cube(org.openmali.vecmath2.Colorf color)
color -
public Cube(float size,
Appearance app)
size - app - public Cube(Appearance app)
app - | Method Detail |
|---|
public static GeometryConstruct createGeometryConstructTA(float offsetX,
float offsetY,
float offsetZ,
float size,
int features,
boolean colorAlpha,
int texCoordsSize)
public static GeometryConstruct createGeometryConstructTA(float size,
int features,
boolean colorAlpha,
int texCoordsSize)
public static TriangleArray createGeometryTA(float offsetX,
float offsetY,
float offsetZ,
float size,
int features,
boolean colorAlpha,
int texCoordsSize)
public static TriangleArray createGeometryTA(float size,
int features,
boolean colorAlpha,
int texCoordsSize)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||