Returns the model file currently displayed. May instead return a reference to the Model object itself if a filename is not available.

Signature:

filename = Model:GetModel()

Returns:

  • filename - Path to the model file currently displayed (string)