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
FieldsFields inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
coordinates, onScreenZ, shapeIdFields inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
mouseInteractionController -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpaint(RenderingContext targetRenderingArea) Paint the texture on the screen (targetRenderingArea)voidsetScale(double scale) Set the scale of the textureMethods inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
getZ, transformMethods 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:
paintin 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
-