Todo
3D - Need documentation This class represents new retained mode rendering object it has a { mesh, material, position, lights and other common rendering properties
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | setLight(int index, float x, float y, float z, float r, float g, float b, float w, float ca, float la, float qa, float isAttenuated, float maxRange, float dirX, float dirY, float dirZ, float innerAngle, float outerAngle, float falloff)
|
| public void | |
| public void |
| CULL_BACK | back to summary |
|---|---|
| public static final int CULL_BACK | |
| CULL_FRONT | back to summary |
|---|---|
| public static final int CULL_FRONT | |
| CULL_NONE | back to summary |
|---|---|
| public static final int CULL_NONE | |
| isValid | back to summary |
|---|---|
| public boolean isValid() | |
| render | back to summary |
|---|---|
| public void render(Graphics g) | |
| setAmbientLight | back to summary |
|---|---|
| public void setAmbientLight(float r, float g, float b) | |
| setCullingMode | back to summary |
|---|---|
| public void setCullingMode(int mode) | |
| setLight | back to summary |
|---|---|
| public void setLight(int index, float x, float y, float z, float r, float g, float b, float w, float ca, float la, float qa, float isAttenuated, float maxRange, float dirX, float dirY, float dirZ, float innerAngle, float outerAngle, float falloff) | |
| setMaterial | back to summary |
|---|---|
| public void setMaterial(Material material) | |
| setWireframe | back to summary |
|---|---|
| public void setWireframe(boolean wireframe) | |