Package org.sunflow.core
Interface SceneParser
- All Known Implementing Classes:
RA2Parser
,RA3Parser
,SCAbstractParser
,SCAsciiParser
,SCBinaryParser
,SCParser
,ShaveRibParser
,TriParser
public interface SceneParser
Simple interface to allow for scene creation from arbitrary file formats.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
parse
(String filename, SunflowAPIInterface api) Parse the specified file to create a scene description into the providedSunflowAPI
object.
-
Method Details
-
parse
Parse the specified file to create a scene description into the providedSunflowAPI
object.- Parameters:
filename
- filename to parseapi
- scene to parse the file into- Returns:
true
upon sucess, orfalse
if errors have occured.
-