Class ImGuiGizmoMatrices.Context
java.lang.Object
de.luckymcdev.foundryengine.client.imgui.gizmo.ImGuiGizmoMatrices.Context
- Enclosing class:
ImGuiGizmoMatrices
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawGrid(float cellSize) voiddrawGrid(float cellSize, float gridCount) booleandrawManipulator(int operation, int mode) booleandrawManipulator(int operation, int mode, float[] snap, float[] localBounds, float[] boundsSnap) booleandrawViewCube(float armLength, float cubeX, float cubeY, float cubeW, float cubeH, int bgColor) booleandrawViewCubeTopRight(float size, float armLen, int bgColor) booleanisOver()booleanisUsing()voidreanchor()
-
Field Details
-
wx
public final float wx -
wy
public final float wy -
ww
public final float ww -
wh
public final float wh
-
-
Method Details
-
drawGrid
public void drawGrid(float cellSize, float gridCount) -
drawGrid
public void drawGrid(float cellSize) -
reanchor
public void reanchor() -
drawManipulator
public boolean drawManipulator(int operation, int mode, float[] snap, float[] localBounds, float[] boundsSnap) -
drawManipulator
public boolean drawManipulator(int operation, int mode) -
drawViewCube
public boolean drawViewCube(float armLength, float cubeX, float cubeY, float cubeW, float cubeH, int bgColor) -
drawViewCubeTopRight
public boolean drawViewCubeTopRight(float size, float armLen, int bgColor) -
isUsing
public boolean isUsing() -
isOver
public boolean isOver()
-