Model Class

Extends Resource
Module: Resources

Model is used to load and check file type for external 3D models, animations, scenes etc.

It wraps other threejs loaders and loads files using them depending on file format.

Constructor

Model

()

Item Index

Methods

Methods

fileIsFont

(
  • file
)
Boolean static

Check if a file name refers to a 3D geometry file.

Parameters:

  • file File

Returns:

Boolean:

True if the fname refers to a supported format.

Properties

extensions List of extensions.

Array

List of file types support for 3D models.