URigVMController::SetPinCategoryIndex

Changes a pin category's index.