public class DAELoader extends LoaderBase implements Loader
basePath, baseUrl, loadFlagsLOAD_ALL, LOAD_BACKGROUND_NODES, LOAD_BEHAVIOR_NODES, LOAD_FOG_NODES, LOAD_LIGHT_NODES, LOAD_SOUND_NODES, LOAD_VIEW_GROUPS| Constructor and Description |
|---|
DAELoader() |
| Modifier and Type | Method and Description |
|---|---|
Scene |
load(Reader reader)
Returns the scene described in the given DAE file stream.
|
Scene |
load(String file)
Returns the scene described in the given DAE file.
|
Scene |
load(URL url)
Returns the scene described in the given DAE file url.
|
void |
setUseCaches(Boolean useCaches)
Sets whether this loader should try or avoid accessing to URLs with cache.
|
getBasePath, getBaseUrl, getFlags, setBasePath, setBaseUrl, setFlagsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePath, getBaseUrl, getFlags, setBasePath, setBaseUrl, setFlagspublic void setUseCaches(Boolean useCaches)
useCaches - Boolean.TRUE, Boolean.FALSE, or
null then caches will be used according to the value
returned by URLConnection.getDefaultUseCaches().public Scene load(String file) throws FileNotFoundException, IncorrectFormatException, ParsingErrorException
load in interface LoaderFileNotFoundExceptionIncorrectFormatExceptionParsingErrorExceptionpublic Scene load(URL url) throws FileNotFoundException, IncorrectFormatException, ParsingErrorException
load in interface LoaderFileNotFoundExceptionIncorrectFormatExceptionParsingErrorExceptionpublic Scene load(Reader reader) throws FileNotFoundException, IncorrectFormatException, ParsingErrorException
load in interface LoaderFileNotFoundExceptionIncorrectFormatExceptionParsingErrorException

© Copyrights 2006-2017 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License