Class ForwardOrientedTexture
java.lang.Object
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.ForwardOrientedTexture
- Direct Known Subclasses:
ForwardOrientedTextBlock
,GlowingPoint
Texture object that is always oriented towards the viewer.
-
Field Summary
Fields inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
coordinates, onScreenZ, shapeId
Fields inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
mouseInteractionController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paint
(RenderingContext targetRenderingArea) Paint the texture on the screen (targetRenderingArea)void
setScale
(double scale) Set the scale of the textureMethods inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
getZ, transform
Methods inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
setMouseInteractionController
-
Field Details
-
texture
-
-
Constructor Details
-
ForwardOrientedTexture
-
-
Method Details
-
paint
Paint the texture on the screen (targetRenderingArea)- Specified by:
paint
in classAbstractCoordinateShape
- Parameters:
targetRenderingArea
- the screen to paint on
-
setScale
public void setScale(double scale) Set the scale of the texture- Parameters:
scale
- the scale of the texture
-
getLocation
-