-
Hello, I have imported model with few material slots. I want in C# code change specific material when specific action happen. Just my idea for understanding my question I have been trying to find out something but I could not find specific way how to achieve this. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You can set the material on the model, the entity doesn't know about materials. Materials are not part of the entity-component system, they are simply properties of the model. You can load as many materials as you want and assign them to the model in code. |
Beta Was this translation helpful? Give feedback.
-
Can you please give me hint about function or code example, please? Thank you. |
Beta Was this translation helpful? Give feedback.
Material slots