| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final MTLContext | |
| pack-priv static int | |
| private MTLPhongMaterial | |
| private final MTLMesh | |
| private final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static MTLMeshView | |
| public void | dispose()
Implements abstract com. Implements com.
|
| public int | |
| public boolean | isValid()
Overrides com. Implements com.
|
| 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)
Implements com.
|
| public void | |
| public void |
| context | back to summary |
|---|---|
| private final MTLContext context | |
| count | back to summary |
|---|---|
| pack-priv static int count | |
| material | back to summary |
|---|---|
| private MTLPhongMaterial material | |
| mesh | back to summary |
|---|---|
| private final MTLMesh mesh | |
| nativeHandle | back to summary |
|---|---|
| private final long nativeHandle | |
| MTLMeshView | back to summary |
|---|---|
| private MTLMeshView(MTLContext context, long nativeHandle, MTLMesh mesh, Disposer. | |
| create | back to summary |
|---|---|
| pack-priv static MTLMeshView create(MTLContext context, MTLMesh mesh) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements abstract com. Implements com.
| |
| getCount | back to summary |
|---|---|
| public int getCount() | |
| isValid | back to summary |
|---|---|
| public boolean isValid() Overrides com. Implements com.
| |
| render | back to summary |
|---|---|
| public void render(Graphics g) Implements com.
| |
| setAmbientLight | back to summary |
|---|---|
| public void setAmbientLight(float r, float g, float b) Implements com.
| |
| setCullingMode | back to summary |
|---|---|
| public void setCullingMode(int cullingMode) Implements com.
| |
| 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) Implements com.
| |
| setMaterial | back to summary |
|---|---|
| public void setMaterial(Material material) Implements com.
| |
| setWireframe | back to summary |
|---|---|
| public void setWireframe(boolean wireframe) Implements com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final MTLContext | |
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv void |
| context | back to summary |
|---|---|
| private final MTLContext context | |
| nativeHandle | back to summary |
|---|---|
| private long nativeHandle | |
| MTLMeshViewDisposerRecord | back to summary |
|---|---|
| pack-priv MTLMeshViewDisposerRecord(MTLContext context, long nativeHandle) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements com.
| |
| traceDispose | back to summary |
|---|---|
| pack-priv void traceDispose() | |