Class InstantiationTools
Hierarchy
- InstantiationTools
Index
Constructors
constructor
Returns InstantiationTools
Properties
Static Registered External ClassesSearch playground for 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
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
Class used to enable instantiation of objects by class name