Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InstantiationTools

Class used to enable instantiation of objects by class name

Hierarchy

  • InstantiationTools

Index

Properties

Static RegisteredExternalClassesSearch playground for RegisteredExternalClasses

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

Static InstantiateSearch playground for Instantiate

  • 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
  • Inherited property
  • Inherited method
  • Static property
  • Static method