Hi, im still trying to access the vtktexture of an actor loaded by the gltfimporter, I tried accessing it on the actor.GetProperty().GetAllTextures() but the property doesn’t have this function, was it ported to python?
The method uses
std::map, and the Python wrappers don’t currently have a rule for translating
std::map into an equivalent Python object.
std::map<std::string, vtkTexture*>& GetAllTextures();
At least you can get textures by name:
vtkTexture* GetTexture(const char* name);
I can add a new method that returns a list of names, but that wouldn’t be available via pypi until VTK 9.2. Until then you’d need to use some other method of keeping track of the texture names.