Package org.sunflow.core.parser
Class SCParser
java.lang.Object
org.sunflow.core.parser.SCParser
- All Implemented Interfaces:
SceneParser
This class provides a static method for loading files in the Sunflow scene
file format.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanparse(String filename, SunflowAPIInterface api) Parse the specified file to create a scene description into the providedSunflowAPIobject.
-
Constructor Details
-
SCParser
public SCParser()
-
-
Method Details
-
parse
Description copied from interface:SceneParserParse the specified file to create a scene description into the providedSunflowAPIobject.- Specified by:
parsein interfaceSceneParser- Parameters:
filename- filename to parseapi- scene to parse the file into- Returns:
trueupon sucess, orfalseif errors have occured.
-