Modify metadata at runtime and set parameter to material

I want to achieve the object selection effect, and hide multiple specified objects.
Can it be realized by dynamically modifying the value of Metadata? The batchtable contains an id array and a status array. I want to query the index of the object through the id, and modify the status at the index, then generate Texture to update the material layer. I wang to know how to generate Texture with batchtable matadata.
How should I do? Thanks!

I find the answer. use FTexture2DMipMap to build it.

1 Like

Can you provide a specific plan for the process you have implemented,thanks!


I’d definitely be interested in learning more about your solution as well. It sounds like what @jpvanmuijen and I are trying to achieve (see this thread: Use Metadata with Data Table)

I’ve been searching for methods to manipulate the materials of 3D tiles, both individually and in batches, but I haven’t been able to find a solution.