Scene Graph `BasicShapes` do not expose their material slots

Summary

The following APIs do not provide any material slots, which makes those meshes always display the default engine grid material.

using { /Verse.org/SceneGraph }
# Module import path: /UnrealEngine.com/BasicShapes
BasicShapes<public> := module {
  cone<public> := class<final><public>(mesh_component) {}

  cube<public> := class<final><public>(mesh_component) {}

  cylinder<public> := class<final><public>(mesh_component) {}

  plane<public> := class<final><public>(mesh_component) {}

  sphere<public> := class<final><public>(mesh_component) {}
}

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Other

Steps to Reproduce

N/A

Expected Result

The default shapes provided for the scene graph should provide a material slot, both in the component view in the editor and via the verse class.

Observed Result

The mentioned basic mesh components do not provide any ability to set / override / read their material slot.

Platform(s)

UEFN

While this may not be a bug, it definitely creates confusion for many users just starting SG. They think because these don’t have material slots and there is no SetMaterial(), we can’t change the material for a mesh in Scene Graph.

2 Likes

FORT-935064 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.

I can second this ^. It was my immediate thought (I had my own meshes imported so I easily found out but not everyone will be that lucky)