Scene Graph `mesh_component.Material` oversights

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Summary

The mesh_component.Material is not editable and it only supports 0-1 materials while a mesh can actually have 0-n materials.

Steps to Reproduce

# missing `@editable`
@experimental
var Material<native><public>:?material = external {} # this is not `[]material`

Expected Result

Should be editable and the type should be []material.

Observed Result

Not editable, does not support 0-n materials.

Platform(s)

PC

Known limitation right now. The material type is a Verse interface which we cannot create instances of on the editor side. We’re working on it.

We will support mapping multiple materials to meshes in the future.

Glad you folks are listening to the feedback. I’ll be toying a lot with SG and providing as much feedback as I can.

PS [off-topic]: btw. I applied to the feedback program, but I’m not sure if I’ll be picked or not, I don’t have a public island, which is an unfortunate requirement. :upside_down_face: