Package one.empty3.library
Class TextureGrad
- java.lang.Object
-
- one.empty3.library.ITexture
-
- one.empty3.library.TextureMov
-
- one.empty3.library.TextureGrad
-
- All Implemented Interfaces:
MatrixPropertiesObject
public class TextureGrad extends TextureMov
-
-
Field Summary
-
Fields inherited from class one.empty3.library.ITexture
COLOR_IDENT, COLOR_MIROR_X, COLOR_MIROR_XY, COLOR_MIROR_Y, COLOR_ROT_090, COLOR_ROT_180, COLOR_ROT_270, colorMask, onTextureEnds, repeatX, repeatY
-
-
Constructor Summary
Constructors Constructor Description TextureGrad()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColorAt(double u, double v)
int[]
getRGB(java.awt.image.BufferedImage image, double u, double v)
-
Methods inherited from class one.empty3.library.TextureMov
copy, current, getFile, getImage, init, nextFrame, setFile, setTransparent, timeNext, timeNext, toString
-
Methods inherited from class one.empty3.library.ITexture
declarations, declareProperties, getColorMask, getCoord, getDeclaredProperty, getDeformMap, getRepeatX, getRepeatY, iterate, setColorMask, setDeformMap, setRepeatX, setRepeatY
-
-
-
-
Method Detail
-
getColorAt
public int getColorAt(double u, double v)
- Overrides:
getColorAt
in classTextureMov
-
getRGB
public int[] getRGB(java.awt.image.BufferedImage image, double u, double v)
-
-