Is there a way to lock down the scale of a model in AR quicklook?
Accepted Reply
You have to use ARQuickLookPreviewItem; see allowsContentScaling https://developer.apple.com/documentation/arkit/arquicklookpreviewitem/3152993-allowscontentscaling
Through the web, you pass the allowsContentScaling=0 parameter. e.g.
-
setting allowsContentScaling = false still make the user scale the model
-
how do we make it so that the user cannot move and scale the model? so it is locked in place (in a place determined by us)?
Replies
You have to use ARQuickLookPreviewItem; see allowsContentScaling https://developer.apple.com/documentation/arkit/arquicklookpreviewitem/3152993-allowscontentscaling
Through the web, you pass the allowsContentScaling=0 parameter. e.g.
-
setting allowsContentScaling = false still make the user scale the model
-
how do we make it so that the user cannot move and scale the model? so it is locked in place (in a place determined by us)?
thank you Bobjt!