Class UI3DScene
java.lang.Object
zombie.ui.UIElement
zombie.vehicles.UI3DScene
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static final class
static final class
static final class
static final class
static final class
static final class
-
Field Summary
FieldsFields inherited from class zombie.ui.UIElement
alwaysBack, alwaysOnTop, anchorBottom, anchorLeft, anchorRight, anchorTop, bScrollChildren, bScrollWithParent, capture, clickedValue, Controls, defaultDraw, followGameWorld, height, IgnoreLossControl, maxDrawHeight, Parent, playerContext, table, visible, width, x, y
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UI3DScene.Ray
allocRay()
fromLua5
(String string0, Object object0, Object object1, Object object2, Object object3, Object object4) fromLua7
(String string0, Object object0, Object object1, Object object2, Object object3, Object object4, Object object5, Object object6) fromLua9
(String func, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8) static int
intersect_ray_plane
(UI3DScene.Plane plane, UI3DScene.Ray ray, org.joml.Vector3f vector3f2) static void
releaseRay
(UI3DScene.Ray ray) void
render()
float
sceneToUIX
(float sceneX, float sceneY, float sceneZ) float
sceneToUIX
(org.joml.Vector3f vector3f) float
sceneToUIY
(float sceneX, float sceneY, float sceneZ) float
sceneToUIY
(org.joml.Vector3f vector3f) boolean
uiToGrid
(float float0, float float1, UI3DScene.GridPlane gridPlane, org.joml.Vector3f vector3f) org.joml.Vector3f
uiToScene
(float float0, float float1, float float2, org.joml.Vector3f vector3f0) org.joml.Vector3f
uiToScene
(org.joml.Matrix4f matrix4f1, float float1, float float0, float float2, org.joml.Vector3f vector3f) float
uiToSceneX
(float uiX, float uiY) float
uiToSceneY
(float uiX, float uiY) Methods inherited from class zombie.ui.UIElement
AddChild, backMost, bringToTop, BringToTop, ButtonClicked, clampToParentX, clampToParentY, ClearChildren, clearMaxDrawHeight, clearStencilRect, DrawItemIcon, DrawLine, 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, 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, setStencilRect, setTable, setUIName, setVisible, setWantExtraMouseEvents, setWantKeyEvents, setWidth, setWidthOnly, setWidthSilent, setX, setXScroll, setY, setYScroll, StartOutline, suspendStencil, tryGetTableValue, update
-
Field Details
-
Z_SCALE
public static final float Z_SCALE- See Also:
-
-
Constructor Details
-
UI3DScene
public UI3DScene(se.krka.kahlua.vm.KahluaTable kahluaTable)
-
-
Method Details
-
render
public void render()- Specified by:
render
in interfaceUIElementInterface
- Overrides:
render
in classUIElement
-
allocRay
-
releaseRay
-
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 float0, float float1, float float2, org.joml.Vector3f vector3f0) -
uiToScene
public org.joml.Vector3f uiToScene(org.joml.Matrix4f matrix4f1, float float1, float float0, float float2, org.joml.Vector3f vector3f) -
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 vector3f) -
sceneToUIY
public float sceneToUIY(org.joml.Vector3f vector3f) -
uiToGrid
public boolean uiToGrid(float float0, float float1, UI3DScene.GridPlane gridPlane, org.joml.Vector3f vector3f) -
intersect_ray_plane
public static int intersect_ray_plane(UI3DScene.Plane plane, UI3DScene.Ray ray, org.joml.Vector3f vector3f2)
-