de.rico.engine.geometry.modelloader
Interface ImportableModelIface

All Known Implementing Classes:
Model3DS, ModelMD2, ModelMS3DAscii

public interface ImportableModelIface

This interface specifies the methods each model that gets loaded from a file needs to implement

Author:
Frank Bruns

Method Summary
 java.lang.String getFilePath()
          Returns the file path of the model file used.
 void load(java.lang.String modelFile, float scale)
          This method loads a model from the specified file.
 

Method Detail

getFilePath

java.lang.String getFilePath()
Returns the file path of the model file used. This is usually important for the editor.

Returns:
file path of the model file

load

void load(java.lang.String modelFile,
          float scale)
This method loads a model from the specified file.

Parameters:
modelFile - path to the model file
scale - scale factor