public TransformHandleParam Without(RotationHandleParam.Handle handles)
 {
     return(new TransformHandleParam(
                position,
                RemoveHandles(rotation, handles),
                scale,
                cameraAlignedPosition,
                RemoveHandles(cameraAlignedRotation, handles),
                cameraAlignedScale,
                localPosition,
                RemoveHandles(localRotation, handles),
                localScale,
                vertexSnappingPosition,
                RemoveHandles(vertexSnappingRotation, handles),
                vertexSnappingScale
                ));
 }
 static RotationHandleParam RemoveHandles(RotationHandleParam r, RotationHandleParam.Handle handles)
 {
     return(new RotationHandleParam(r.handles & ~handles, r.axisSize, r.xyzSize, r.cameraAxisSize, r.enableRayDrag, r.displayXYZCircle));
 }