Download

Passing custom data to instanced static meshes

I wonder if it’s possible to pass a custom data to hierarchical/non-hierarchical instanced static meshes, so I can customise each mesh a little. The main purpose is to animate each mesh independently through vertex animation, but there’s so much more than that - for example customising materials. After studying docs, I cannot find any way of doing that. I tried to read the sources as much as I can, but it seems UInstancedStaticMeshComponent only stores and passes a single transform matrix per instance.