Post

Replies

Boosts

Views

Activity

.previewLayout(.sizeThatFits) doesn't work
In wwdc2023-10203 (adding the tag on the new post form doesn't work), I initially had problems following the reality composer pro tutorial because the Stylized Clouds.usdz was not provided, and I could not find it anywhere. Eventually worked through things by using the provided sphere USD instead of the clouds. Next up, adding the previewLayout option .sizeThatFits didn't fix the problem that the preview was clipped to the default scene bounds. I didn't realize this until I adjusted the objects back to the origin. This doesn't work: #Preview { ImmersiveView().previewLayout(.sizeThatFits) }
1
1
376
Jan ’24