Setting a material on a Lemur component

@pspeed What’s the best way to set a custom material in a Lemur component? I wanted to create an Atlas Icon Component that extends IconComponent but material is private without a setter. This new material works with an icon atlas and has it’s own material def. I started to create my own GuiMaterial class that wraps it but I see no way of setting it to a component.

Not sure it’s worth extending IconComponent. Just use it as a template to make your own.

1 Like