Interface TeaGraphics
- All Superinterfaces:
StageVisitor
- All Known Implementing Classes:
HtmlCanvasGraphics,PixiGraphics,ThreeGraphics
Base interface for the different JavaScript graphics frameworks supported by
the TeaVM renderer.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancastPickRay(Point2D canvasPosition, Box area) createMesh(Shape3D shape, ColorRGB color) default floatintintvoidinit(SceneContext context) Methods inherited from interface nl.colorize.multimedialib.stage.StageVisitor
drawBackground, drawCircle, drawLight, drawLine, drawMesh, drawPolygon, drawRect, drawSegmentedLine, drawSprite, drawText, finalize2D, finalize3D, prepareStage, shouldVisitAllNodes, visitContainer, visitGroup
-
Method Details
-
getGraphicsMode
GraphicsMode getGraphicsMode() -
init
-
getDisplayWidth
int getDisplayWidth() -
getDisplayHeight
int getDisplayHeight() -
getDevicePixelRatio
default float getDevicePixelRatio() -
createMesh
-
project
-
castPickRay
-