GizmoObjectMatrix
class GizmoObjectMatrix
Class responsible for creating and modifying an element rendering matrix GizmoObjectMatrix
public class GizmoObjectMatrix extends GizmoMatrix
— Constructors (2) —
| Constructor | Description |
|---|---|
| GizmoObjectMatrix() | Creates a new GizmoObjectMatrix. |
| GizmoObjectMatrix(Vertex vertex) | Creates a new GizmoObjectMatrix with its current vertex defined to be "vertex" argument. |
— Methods (14) —
| Name | Description |
|---|---|
| Vertex getVertex() | Returns the current vertex of the GizmoObjectMatrix. |
| void setVertex(Vertex vertex) | Sets the current vertex of the GizmoObjectMatrix to be "vertex" argument. |
| int getWireFrameWidth() | Returns the current width of the GizmoObjectMatrix's WireFrame(line-only rendering mode) rendering mode. |
| void setWireFrameWidth(int wireFrameWidth) | Sets the current width of the WireFrame(line-only rendering mode) rendering mode of the GizmoObjectMatrix to be "wireFrameWidth" argument. |
| Color getColor() | Returns the current color of the GizmoObjectMatrix. |
| void setColor(Color color) | Sets the current color of the GizmoObjectMatrix to be "color" argument. |
| [Texture] getTexture() | Returns the current texture of the GizmoObjectMatrix. |
| void setTexture([Texture] texture) | Sets the current texture of the GizmoObjectMatrix to be "texture" argument. |
| boolean isDualFaceRender() | Returns true if both sides of the GizmoObjectMatrix are being rendered, false if not. |
| void setDualFaceRender(boolean dualFaceRender) | Defines whether or not both sides of the GizmoObjectMatrix will be rendered to be "dualFaceRender" argument. |
| [RenderMode] getRenderMode() | Returns the current rendering mode("Triangles", "WireFrame", "Both" or "SimpleWireFrame") of the GizmoObjectMatrix. |
| void setRenderMode([RenderMode] renderMode) | Sets the current rendering mode("Triangles", "WireFrame", "Both" or "SimpleWireFrame") of the GizmoObjectMatrix to be "renderMode" argument. |
| Object getUserPointer() | Returns an Object. |
| void setUserPointer(Object userPointer) | Defines an Object to be "userPointer" argument. |