
If you’re interested to know how to change materials like you can do in the Bernie AR app, it’s not as difficult as you might expect.
Every ModelEntity
in RealityKit
has a ModelComponent
property. If it exists, as it is an optional and may be nil, this component contains both the mesh and the materials array. This is all we need to modif…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.