How to change material of single building object in building tileset?

Hi,

Following Visualize Mesh Features and Metadata – Cesium, I can get metadata of single building such as FeatureID, Height. Based on this information, I tried to change color(or material) of single building hit by line traced. When simply using Set Material function, entire tile’s color changed even not hit buildings. Is it possible to change single building’s material in tileset?

Hi @netcus11,

We actually have a sample level where we have implemented this behavior! Check out Level 14 in the Cesium for Unreal Samples, which highlights the parts of models that you click on. Feel free to borrow the materials / Blueprints for your own apps.

Let us know if you have any follow-up questions!