Creates a new model instance from a modelFile and adds it to the scene.

You must first load the model before you can create a model instance within your 3D scene. You may call this function before the model has finished downloading.

The model will be added to the scene at location (0,0,0) with the active state set to false. You must set this state to true before the model will be visible at all.


Syntax:

model addModel(String modelname)
Return: A model instance that has been added to the scene
Parameters:
modelname

The short name of the modelFile you want create a model instance of.

See also:

Class arcticLayer | Class model |

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.