|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used for accessing to a URLTexture.
URLTexture are texture that gets pixel from a local or remote image file by using an URL.
ITexture
,
IProgress
,
DzzD
Method Summary | |
java.lang.String |
getBaseURL()
Gets base URL for the source file. |
java.lang.String |
getSourceFile()
Gets source file. |
void |
load()
Start loading image asynchronously using using current base URL and source file . |
void |
load(java.lang.String baseURL,
java.lang.String sourceFile)
Sets base URL and image file name and asynchronously begin loading. |
void |
setBaseURL(java.lang.String baseURL)
Sets base URL for the source file. |
void |
setSourceFile(java.lang.String sourceFile)
Sets source file. |
Methods inherited from interface net.dzzd.access.ITexture |
buildMipMap, getPixels, getPixelsHeight, getPixelsWidth, getType, setType |
Methods inherited from interface net.dzzd.access.ISceneObject |
build, clearProperties, copy, getBuild, getId, getName, getProperty, getScene, setBuild, setId, setName, setProperty |
Methods inherited from interface net.dzzd.access.IMonitoredSceneObject |
copy |
Method Detail |
public void setSourceFile(java.lang.String sourceFile)
sourceFile
- image file namepublic java.lang.String getSourceFile()
public void setBaseURL(java.lang.String baseURL)
baseURL
- image file location as an URLpublic java.lang.String getBaseURL()
public void load(java.lang.String baseURL, java.lang.String sourceFile)
baseURL
- image file location as an URLsourceFile
- image file namepublic void load()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |