Property 'setMaterials' does not exist on type 'Loader' when using useLoader extensions #2579
Labels
bug
Something isn't working
core
target agnostic (normally to do with reconciler)
Typescript
issues to do with TS
I am trying to set the materials of an object, using react-three-fiber's useLoader. However on the callback function of OBJLoader, setMaterials is not defined
The contents of loader are:
The text was updated successfully, but these errors were encountered: