#why load()/loadAsync()/parse() are deleted?
1 messages · Page 1 of 1 (latest)
Hi! These methods have not been deleted.
The load and parse methods are empty because “Loader” is a parent class. Subclasses like GLTFLoader or FBXLoader extend the parent class and implement those methods.
thank u. these methodsmethods haven't actually been deleted, I misunderstood.. But when I used three-0.155.0 and @types/three 0.155.1 in the typescript project. the loadasync/load/parse methods are commented out and cannot be used in type declaration file.
I expect @types/three defines those methods for individual loaders then, not the Loader base class. The return types are different for each loader.
Under the circumstances, then, what purpose does the Loader superclass serve? (typewise, at least)