Todo
3D - Need documentation
| Modifier and Type | Field and Description |
|---|---|
| private CullFace | |
| private DrawMode | |
| private boolean | |
| private NGPhongMaterial | |
| private boolean | |
| pack-priv NGTriangleMesh | |
| private MeshView |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| protected boolean | |
| pack-priv void | |
| pack-priv boolean | |
| private boolean | |
| public void | |
| protected void | |
| private void | |
| private void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| private void |
| cullFace | back to summary |
|---|---|
| private CullFace cullFace | |
| drawMode | back to summary |
|---|---|
| private DrawMode drawMode | |
| drawModeDirty | back to summary |
|---|---|
| private boolean drawModeDirty | |
| material | back to summary |
|---|---|
| private NGPhongMaterial material | |
| materialDirty | back to summary |
|---|---|
| private boolean materialDirty | |
| mesh | back to summary |
|---|---|
| pack-priv NGTriangleMesh mesh | |
| meshView | back to summary |
|---|---|
| private MeshView meshView | |
| NGShape3D | back to summary |
|---|---|
| public NGShape3D() | |
| addDirectionalLight | back to summary |
|---|---|
| private void addDirectionalLight(NGDirectionalLight light, int lightIndex, float r, float g, float b) | |
| addPointLight | back to summary |
|---|---|
| private void addPointLight(NGPointLight light, int lightIndex, float r, float g, float b) | |
| addSpotLight | back to summary |
|---|---|
| private void addSpotLight(NGSpotLight light, int lightIndex, float r, float g, float b) | |
| hasOverlappingContents | back to summary |
|---|---|
| protected boolean hasOverlappingContents() Implements abstract com.
| |
| invalidate | back to summary |
|---|---|
| pack-priv void invalidate() | |
| isShape3D | back to summary |
|---|---|
| pack-priv boolean isShape3D() Overrides com.
| |
| noLights | back to summary |
|---|---|
| private boolean noLights(NGLightBase[] lights) | |
| release | back to summary |
|---|---|
| public void release() Overrides com. Doc from com. * Stuff * *
| |
| renderContent | back to summary |
|---|---|
| protected void renderContent(Graphics g) Implements abstract com.
| |
| renderMeshView | back to summary |
|---|---|
| private void renderMeshView(Graphics g) | |
| resetLight | back to summary |
|---|---|
| private void resetLight(int lightIndex) | |
| setCullFace | back to summary |
|---|---|
| public void setCullFace(Object cullFace) | |
| setDefaultLight | back to summary |
|---|---|
| private void setDefaultLight(Graphics g) Creates a white point light at the camera's (eye) position. The light uses the default attenuation parameters, which means that it is not attenuated (isAttenuated == 0). | |
| setDrawMode | back to summary |
|---|---|
| public void setDrawMode(Object drawMode) | |
| setMaterial | back to summary |
|---|---|
| public void setMaterial(NGPhongMaterial material) | |
| setMesh | back to summary |
|---|---|
| public void setMesh(NGTriangleMesh triangleMesh) | |
| setupLights | back to summary |
|---|---|
| private void setupLights(Graphics g) | |