Posts

Post not yet marked as solved
3 Replies
837 Views
I use the code to add a picture texture in RealityKit and it works fine.I try to use this code to add a video file to be a texture, but it crashes!!!guard let url = Bundle.main.url(forResource: "data", withExtension: "mp4") else { return } material.baseColor = try! .texture(.load(contentsOf: url))How can I add a video file???
Posted
by wj521elva.
Last updated
.