PhysicsBox
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
PhysicsBox
PhysicsBox
/
dev.zinchenko.physicsbox
/
PhysicsCommand
/
UpdateDrag
Update
Drag
data
class
UpdateDrag
(
val
key
:
Any
,
val
targetPx
:
PhysicsVector2
)
:
PhysicsCommand
Updates drag target for an active drag interaction.
Parameters
key
Body key.
target
Px
New target position (container px).
Members
Constructors
Update
Drag
Link copied to clipboard
constructor
(
key
:
Any
,
targetPx
:
PhysicsVector2
)
Properties
key
Link copied to clipboard
val
key
:
Any
target
Px
Link copied to clipboard
val
targetPx
:
PhysicsVector2