org.sunflow.core
Interface SceneParser
- RA2Parser, RA3Parser, SCParser, ShaveRibParser, TriParser
public interface SceneParser
Simple interface to allow for scene creation from arbitrary file formats.
boolean | parse(String filename, SunflowAPI api)- Parse the specified file to create a scene description into the provided
SunflowAPI object.
|
parse
public boolean parse(String filename,
SunflowAPI api) Parse the specified file to create a scene description into the provided
SunflowAPI object.
filename - filename to parseapi - scene to parse the file into
true upon sucess, or false if
errors have occured.