Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to enable instantiation of objects by class name

Hierarchy

  • InstantiationTools

Index

Constructors

Properties

RegisteredExternalClasses: {}

Use this object to register external classes like custom textures or material to allow the loaders to instantiate them

Type declaration

  • [key: string]: Object

Methods

  • Instantiate(className: string): any
  • Tries to instantiate a new object from a given class name

    Parameters

    • className: string

      defines the class name to instantiate

    Returns any

    the new object or null if the system was not able to do the instantiation

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Static property
  • Static method
  • Inherited constructor

Settings

Theme