A window resize widget.
Grab and move to resize your view from its center point.
resizeHandle = ResizeHandle(bounds, translationConstraint, rotationConstraint)
|bounds||Bounds||The ResizeHandle’s bounds.|
|translationConstraint||table||Only allow the indicated fraction of movement in the corresponding axis in the actuated entity’s local coordinate space. E g, to only allow movement along the floor (no lifting), set the y fraction to 0: |
|rotationConstraint||table||Similarly, constrain rotation to the given fraction in the given euler axis in the actuated entity’s local coordinate space. E g, to only allow rotation along Y (so that it always stays up-right), use: |