Skip to main content

GizmoElement

class GizmoElement

Class responsible for fetching properties of GizmoElements, the GizmoMatrix, GizmoPath and GizmoTransform classes inherit the GizmoElement class.


public class GizmoElement

— Methods (10) —

NameDescription
Object getUserPointer()Returns an Object.
void setUserPointer(Object userPointer)Defines an Object to be "userPointer" argument.
Vertex getVertex()Returns the current vertex of the GizmoElement.
Color getColor()Returns the current color of the GizmoElement.
[Texture] getTexture()Returns the current texture of the GizmoElement.
[RenderMode] getRenderMode()Returns the current rendering mode (Triangles, WireFrame, Both or SimpleWireFrame) of the GizmoElement.
float[] getMatrix()Returns the current render matrix of the GizmoElement.
int getWireFrameWidth()Returns the current width of the WireFrame (line-only rendering mode) of the GizmoElement.
boolean isEnableTransparency()Returns true if GizmoElement transparency is enabled, false if not.
boolean isScaleBasedCamera()Returns true if the GizmoElement scale is based on the Camera scale, false if not.