Package one.empty3.library
Class TextureMov
- java.lang.Object
-
- one.empty3.library.ITexture
-
- one.empty3.library.TextureMov
-
- All Implemented Interfaces:
MatrixPropertiesObject
- Direct Known Subclasses:
TextureGrad
,TextureShader
public class TextureMov extends ITexture
-
-
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 TextureMov()
TextureMov(java.lang.String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixPropertiesObject
copy()
protected void
current()
int
getColorAt(double u, double v)
java.io.File
getFile()
java.awt.image.BufferedImage
getImage()
void
init(java.lang.String filename)
boolean
nextFrame()
void
setFile(java.io.File file)
void
setTransparent(java.awt.Color black)
void
timeNext()
void
timeNext(long milli)
java.lang.String
toString()
-
Methods inherited from class one.empty3.library.ITexture
declarations, declareProperties, getColorMask, getCoord, getDeclaredProperty, getDeformMap, getRepeatX, getRepeatY, iterate, setColorMask, setDeformMap, setRepeatX, setRepeatY
-
-
-
-
Method Detail
-
getFile
public java.io.File getFile()
-
setFile
public void setFile(java.io.File file)
-
init
public void init(java.lang.String filename)
-
getColorAt
public int getColorAt(double u, double v)
- Specified by:
getColorAt
in classITexture
-
current
protected void current()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
copy
public MatrixPropertiesObject copy() throws CopyRepresentableError, java.lang.IllegalAccessException, java.lang.InstantiationException
- Throws:
CopyRepresentableError
java.lang.IllegalAccessException
java.lang.InstantiationException
-
nextFrame
public boolean nextFrame()
-
setTransparent
public void setTransparent(java.awt.Color black)
-
getImage
public java.awt.image.BufferedImage getImage()
-
-