Class UI3DScene
java.lang.Object
zombie.ui.UIElement
zombie.vehicles.UI3DScene
- All Implemented Interfaces:
UIElementInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumstatic final classstatic final classstatic final classstatic final classstatic final classstatic final class -
Field Summary
FieldsFields inherited from class UIElement
alwaysBack, alwaysOnTop, anchorBottom, anchorLeft, anchorRight, anchorTop, capture, clickedValue, controls, defaultDraw, followGameWorld, height, ignoreLossControl, maxDrawHeight, parent, playerContext, scrollChildren, scrollWithParent, table, visible, width, x, y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UI3DScene.Planestatic UI3DScene.RayallocRay()static floatstatic floatclosest_distance_line_circle(UI3DScene.Ray ray, UI3DScene.Circle c, org.joml.Vector3f point) static floatdistance_between_point_ray(org.joml.Vector3f P, UI3DScene.Ray L) fromLua7(String func, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) fromLua9(String func, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8) static intintersect_ray_plane(UI3DScene.Plane Pn, UI3DScene.Ray S, org.joml.Vector3f out) static voidreleasePlane(UI3DScene.Plane Plane) static voidreleaseRay(UI3DScene.Ray ray) voidrender()floatsceneToUIX(float sceneX, float sceneY, float sceneZ) floatsceneToUIX(org.joml.Vector3f scenePos) floatsceneToUIY(float sceneX, float sceneY, float sceneZ) floatsceneToUIY(org.joml.Vector3f scenePos) booleanuiToGrid(float uiX, float uiY, UI3DScene.GridPlane gridPlane, org.joml.Vector3f outScenePos) org.joml.Vector3fuiToScene(float uiX, float uiY, float uiZ, org.joml.Vector3f out) org.joml.Vector3fuiToScene(org.joml.Matrix4f modelTransform, float uiX, float uiY, float uiZ, org.joml.Vector3f out) floatuiToSceneX(float uiX, float uiY) floatuiToSceneY(float uiX, float uiY) Methods inherited from class UIElement
AddChild, backMost, bringToTop, BringToTop, ButtonClicked, clampToParentX, clampToParentY, ClearChildren, clearMaxDrawHeight, clearStencilRect, DrawItemIcon, DrawLine, DrawPolygon, DrawScriptItemIcon, DrawSubTextureRGBA, DrawText, DrawText, DrawText, DrawText, DrawTextCentre, DrawTextCentre, DrawTextRight, DrawTextRight, DrawTextUntrimmed, DrawTexture, DrawTexture, DrawTexture_FlippedX, DrawTexture_FlippedXIgnoreOffset, DrawTextureAngle, DrawTextureAngle, DrawTextureCol, DrawTextureColor, DrawTextureIcon, DrawTextureIconMask, DrawTextureIgnoreOffset, DrawTexturePercentage, DrawTexturePercentageBottomUp, DrawTextureScaled, DrawTextureScaledAspect, DrawTextureScaledAspect2, DrawTextureScaledAspect3, DrawTextureScaledCol, DrawTextureScaledCol, DrawTextureScaledColor, DrawTextureScaledUniform, DrawTextureTiled, DrawTextureTiledX, DrawTextureTiledY, DrawTextureTiledYOffset, DrawUVSliceTexture, EndOutline, getAbsoluteX, getAbsoluteY, getClickedValue, getControls, getHeight, getMaxDrawHeight, getParent, getPlayerContext, getRenderThisPlayerOnly, getScrollChildren, getScrollHeight, getScrollWithParent, getTable, getUIName, getWidth, getX, getXScroll, getXScrolled, getY, getYScroll, getYScrolled, ignoreHeightChange, ignoreWidthChange, isAlwaysOnTop, isAnchorBottom, isAnchorLeft, isAnchorRight, isAnchorTop, isBackMost, isCapture, isConsumeMouseEvents, isDefaultDraw, isEnabled, isFollowGameWorld, isForceCursorVisible, isIgnoreLossControl, isKeyConsumed, isModalVisible, isMouseOver, isOverElement, isPointOver, isReallyVisible, isVisible, isWantExtraMouseEvents, isWantKeyEvents, onConsumeKeyPress, onConsumeKeyRelease, onConsumeKeyRepeat, onConsumeMouseButtonDown, onConsumeMouseButtonUp, onConsumeMouseMove, onConsumeMouseWheel, onExtendMouseMoveOutside, onKeyPress, onKeyRelease, onKeyRepeat, onMouseButtonDown, onMouseButtonDownOutside, onMouseButtonUpOutside, onMouseDown, onMouseMove, onMouseMoveOutside, onMouseUp, onMouseUpOutside, onMouseWheel, onresize, onResize, onRightMouseDown, onRightMouseUp, RemoveChild, RemoveControl, repaintStencilRect, resumeStencil, setAlwaysOnTop, setAnchorBottom, setAnchorLeft, setAnchorRight, setAnchorTop, setCapture, setClickedValue, setConsumeMouseEvents, setControls, setDefaultDraw, setEnabled, setFollowGameWorld, setForceCursorVisible, setHeight, setHeightOnly, setHeightSilent, setIgnoreLossControl, setMaxDrawHeight, setParent, setPlayerContext, setRenderClippedChildren, setRenderThisPlayerOnly, setScrollChildren, setScrollHeight, setScrollWithParent, setStencilCircle, setStencilRect, setTable, setUIName, setVisible, setWantExtraMouseEvents, setWantKeyEvents, setWidth, setWidthOnly, setWidthSilent, setX, setXScroll, setY, setYScroll, StartOutline, suspendStencil, update
-
Field Details
-
Z_SCALE
public static final float Z_SCALE- See Also:
-
-
Constructor Details
-
UI3DScene
public UI3DScene(se.krka.kahlua.vm.KahluaTable table)
-
-
Method Details
-
render
public void render()- Specified by:
renderin interfaceUIElementInterface- Overrides:
renderin classUIElement
-
allocRay
-
releaseRay
-
allocPlane
-
releasePlane
-
fromLua0
-
fromLua1
-
fromLua2
-
fromLua3
-
fromLua4
-
fromLua5
-
fromLua6
-
fromLua7
-
fromLua9
-
uiToSceneX
public float uiToSceneX(float uiX, float uiY) -
uiToSceneY
public float uiToSceneY(float uiX, float uiY) -
uiToScene
public org.joml.Vector3f uiToScene(float uiX, float uiY, float uiZ, org.joml.Vector3f out) -
uiToScene
public org.joml.Vector3f uiToScene(org.joml.Matrix4f modelTransform, float uiX, float uiY, float uiZ, org.joml.Vector3f out) -
sceneToUIX
public float sceneToUIX(float sceneX, float sceneY, float sceneZ) -
sceneToUIY
public float sceneToUIY(float sceneX, float sceneY, float sceneZ) -
sceneToUIX
public float sceneToUIX(org.joml.Vector3f scenePos) -
sceneToUIY
public float sceneToUIY(org.joml.Vector3f scenePos) -
uiToGrid
public boolean uiToGrid(float uiX, float uiY, UI3DScene.GridPlane gridPlane, org.joml.Vector3f outScenePos) -
closest_distance_between_lines
-
intersect_ray_plane
-
distance_between_point_ray
-
closest_distance_line_circle
public static float closest_distance_line_circle(UI3DScene.Ray ray, UI3DScene.Circle c, org.joml.Vector3f point)
-