How to disable scaling for the model / camera zoom disable through user gestures #476
Unanswered
v01dn3ph1l1m
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@ThomasGorisse stuck here. Would appreciate some guidance in the right direction. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
val engine = rememberEngine()
val modelLoader = rememberModelLoader(engine)
i tried this but didnt work
also tried this
val onGestureListener = rememberOnGestureListener(
onScaleBegin = { _, _, _ -> }
onScale = { _, _, _ -> }
)
I am on version 2.1.1 and latest version of jetpack compose
I also tried setting isScaleEditable on cameraNode, centerNode and modelNode but user gestures still work and scale was still editable. Can someone help?
Beta Was this translation helpful? Give feedback.
All reactions