[visionOS][Apple Vision Pro] zoom 3D model

Method 1: Set Model3D through code

Model3D(named:"你的3D模型名称",bundle:realityKitContentBundle)
    .padding(.bottom,50)
    .scaleEffect(0.2) //这句用来缩放

Method 2: Others can do it, but I have verified that it doesn’t work

In the RealityKitContent tool, select the 3D model, set the X/Y/Z scaling of the Transform's Scale, and remember to save it

 

Supongo que te gusta

Origin blog.csdn.net/H_O_W_E/article/details/131802985
Recomendado
Clasificación