use of org.rajawali3d.loader.awd.AExportableBlockParser in project Rajawali by Rajawali.
the class LoaderAWD method onBlockParsingFinished.
/**
* This is called when all blocks have finished parsing. This is the time to modify any block
* data as needed from the passed list before conversion to {@link Object3D} or {@link
* Scene} occurs.
*/
public void onBlockParsingFinished(List<IBlockParser> blockParsers) {
Object3D temp;
IBlockParser blockParser;
for (int i = 0, j = blockParsers.size(); i < j; i++) {
blockParser = blockParsers.get(i);
if (!(blockParser instanceof AExportableBlockParser))
continue;
temp = ((AExportableBlockParser) blockParser).getBaseObject3D();
if (temp != null)
baseObjects.add(temp);
}
}
Aggregations